atom-angularjs-snippets

Angular JS snippet codes for Atom text editor

Ognjen Jevremović

2,594

1

Bug Reports

1.1.0

MIT

GitHub

Atom Angular JS code snippets

Provides AngularJS (aka Angular 1) snippet codes for Atom text editor.

 

What is atom-angularjs-snippets

This package include code snippets for the following AngularJS components:

The purpose of this package is to:

 

Install

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

 

Usage

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.

 

Credits

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.

 

Want to contribute?

Great! Anyone can help make this project better - check out the github repository!

 

License

Copyright (c) 2016 Ognjen Jevremović

Licensed under the MIT License.