Skip to content

Instantly share code, notes, and snippets.

@felansu
Created August 9, 2015 22:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save felansu/4c9c49c9002c4e42beb2 to your computer and use it in GitHub Desktop.
Save felansu/4c9c49c9002c4e42beb2 to your computer and use it in GitHub Desktop.
[Angular] Templates for create controllers, factories and modules for Intellij Idea
Download the https://github.com/johnpapa/angular-styleguide/blob/master/assets/webstorm-angular-file-template.settings.jar?raw=true
Open WebStorm / Idea and go to the File menu
Choose the Import Settings menu option
Select the file and click OK
In a JavaScript file type these commands followed by a TAB:
ng-c // creates an Angular controller
ng-f // creates an Angular factory
ng-m // creates an Angular module
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment