Skip to content

atouchard/angularjs-snippets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

AngularJS snippets

  • Sublime Text

    • Place files in your Packages folder (~/Library/Application\ Support/Sublime\ Text\ 2/Packages/JavaScript for MacOSX)
    • Restart Sublime
    • In a JavaScript file type these commands followed by a TAB
    ngcontroller // creates an Angular controller
    ngdirective // creates an Angular directive
    ngfactory // creates an Angular factory
    ngfilter // creates an Angular filter
    ngmodule // creates an Angular module
  • PHPStorm/WebStorm

    • Place xml file in ~/Library/Preferences/WebIdeXX (for MacOSX)
    • Restart PHPStorm/WebStorm
    • In a JavaScript file type these commands followed by a TAB
    ng-c // creates an Angular controller
    ng-d // creates an Angular directive
    ng-fa // creates an Angular factory
    ng-fi // creates an Angular filter
    ng-m // creates an Angular module

About

angularjs-snippets for Sublime Text & PHP Storm

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published