AngularJs Textmate Bundle
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Preferences adding support for tab completion in CoffeeScript scope, auto add sem… Jul 15, 2013
Snippets
README.md
info.plist

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