angular-styleguide icon indicating copy to clipboard operation
angular-styleguide copied to clipboard

RFC - Reserved names $

Open chrisl8888 opened this issue 9 years ago • 4 comments

I feel that this is a good rule to follow: https://google.github.io/styleguide/angularjs-google-style.html#dollarsign

I think we should avoid using the dollar sign as it should be a framework level namespace.

What are your thoughts? Do you all agree or have issues?

chrisl8888 avatar Sep 02 '16 19:09 chrisl8888

i think this repo is abandoned.

leandroruel avatar Sep 02 '16 19:09 leandroruel

$ is for angular services.

yes, it should be avoided. If interested, make a PR.

johnpapa avatar Sep 05 '16 17:09 johnpapa

@johnpapa Would adding it within https://github.com/johnpapa/angular-styleguide/tree/master/a1#services work? What section did you have in mind?

chrisl8888 avatar Sep 06 '16 22:09 chrisl8888

probably near here https://github.com/johnpapa/angular-styleguide/tree/master/a1#style-y125

johnpapa avatar Sep 14 '16 02:09 johnpapa