AngularJs.tmbundle
AngularJs.tmbundle copied to clipboard
AngularJs Textmate Bundle
AngularJs Textmate Bundle
Installation
With Git
TextMate 1
git clone git://github.com/angular-ui/AngularJs.tmbundle.git ~/Library/Application\ Support/TextMate/Bundles/AngularJs.tmbundle
TextMate 2 (Avian)
git clone git://github.com/angular-ui/AngularJs.tmbundle.git ~/Library/Application\ Support/Avian/Bundles/AngularJs.tmbundle
Without Git
- Download the code
- Extract the package
- Rename the folder to 'AngularJs.tmbundle' and choose Use .tmbundle Extension
- Double click on the new folder and TextMate will handle the rest!
Tab Triggers
Html
- repeat
- switch + when + default
- show + hide
- plural pluralize
- options
- view
- inc include
- click
Javascript
- is + [# to select] isArray, isObject, isDefined, isFunction, isString
- lower lowercase
- upper uppercase
- mod + dir new module or directive template
- noop
- extend
- each forEach
- http
- watch
- digest
- el element
- .$ + [# to select] $scope.$digest, $scope.$apply, $scope.$watch, $scope.$eval
- http $http()
- noop
- filter $filter
- copy
- mod angular.module(). // Includes a preceeding docblock
- dir directive()
- route $routeProvider.when