Skip to content
This repository has been archived by the owner on May 25, 2019. It is now read-only.

Latest commit

 

History

History
54 lines (46 loc) · 1.33 KB

README.md

File metadata and controls

54 lines (46 loc) · 1.33 KB

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