Provides AngularJS (aka Angular 1) snippet codes for Atom text editor.
This package include code snippets for the following AngularJS components:
The purpose of this package is to:
These snippets require Atom text editor to be installed on your machine (dough). To include the snippets, as an Atom package, simply run the following commands from your terminal/shell/cmd
$ apm install atom-angularjs-snippets
or
1. Open Atom
2. Navigate to Package Manager (File > Settings > Packages)
3. Search for the package 'atom-angularjs-snippets'
4. Click 'Install' to install the package
All of the AngularJS components are wrapped in a closure and as such should not interfere with your pre-existing code. This is due to:
The use is really self-explanatory and plain simple. Simply start typing ng- in your .js file in Atom and you should get all of the snippet code components, which you can then autocomplete by hittin the TAB button on your keyboard.
These Angular JS snippets are based on John Papa's Angular style guide. I strongly recommend reading the guide if you're working in larger teams or you're looking for a way to increase your code readbility and consistancy accross your projects. You can find more about the guide on the following link.
Great! Anyone can help make this project better - check out the github repository!
Copyright (c) 2016 Ognjen Jevremović
Licensed under the MIT License.
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.