From 5c8cd841e9551bd4c09863858c7ba540b95574f7 Mon Sep 17 00:00:00 2001 From: Nicolas Gaignoux Date: Fri, 14 Aug 2015 18:38:03 +0200 Subject: [PATCH] updated changelog v0.1.10 --- changelog.md | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/changelog.md b/changelog.md index 8ec3595..7d0599e 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,45 @@ +## 0.1.10 (2015-08-14) + +@conceal: [new feature] +> the conceal decorator is now available. +> it provides a way to declare the class members as private. + +````javascript +import {factory, inject, conceal} from 'node_modules/ng-annotations'; + +@factory() +@inject('$http') +class MyFactory { + @conceal + @attach('$http') + $http + + @conceal + datas = []; + + getDatas() { + return this.datas; + } +} + + +import {service, inject} from 'node_modules/ng-annotations'; + +@service() +@inject(MyFactory) +class MyService { + + constructor(myFactory) { + myFactory.$http; // not defined + myFactory.datas; // not defined + myFactory.getDatas; // defined + } + +} + + +```` + ## 0.1.9 (2015-08-12) Bugfix: