AngularJs Textmate Bundle
Latest commit 1e7c8a7 Oct 10, 2014 @ProLoser ProLoser fix #3

README.md

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

  1. Download the code
  2. Extract the package
  3. Rename the folder to 'AngularJs.tmbundle' and choose Use .tmbundle Extension
  4. 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