nghellostyle
nghellostyle copied to clipboard
AngularJS seed for Google Closure Compiler
Hi! Update a version og ngjs to 1.7.9 # #
An AngularJS Style Guide for Closure Users at Google link seems to be broken (https://google-styleguide.googlecode.com/svn/trunk/angularjs-google-style.html) I found the modified link as the same guide but at different location.
All works fine, until we use a directive multiple times on a site. Directive.factory will only be called once. So all directives on sites share the same Directive object.
Fixes a warning: The @expose annotation is deprecated. Use @nocollapse or @export instead.
I have made some changes to get around a limitation of PhantomJS for unit tests. PhantomJS currently doesn't support `bind` on Function.prototype (https://github.com/ariya/phantomjs/issues/10522). It appears as though, the cleanest workaround...