{"id":15184503,"url":"https://github.com/angular-ui/angularjs-atom","last_synced_at":"2025-10-01T23:30:36.563Z","repository":{"id":14550393,"uuid":"17265761","full_name":"angular-ui/AngularJS-Atom","owner":"angular-ui","description":"An AngularJS package for Github's Atom editor","archived":true,"fork":false,"pushed_at":"2018-01-16T14:49:33.000Z","size":277,"stargazers_count":284,"open_issues_count":21,"forks_count":49,"subscribers_count":23,"default_branch":"master","last_synced_at":"2024-09-28T17:02:55.316Z","etag":null,"topics":["angularjs","atom"],"latest_commit_sha":null,"homepage":"https://atom.io/packages/angularjs","language":"CoffeeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/angular-ui.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-02-27T21:42:18.000Z","updated_at":"2024-04-21T13:20:25.000Z","dependencies_parsed_at":"2022-08-31T12:50:52.686Z","dependency_job_id":null,"html_url":"https://github.com/angular-ui/AngularJS-Atom","commit_stats":null,"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angular-ui%2FAngularJS-Atom","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angular-ui%2FAngularJS-Atom/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angular-ui%2FAngularJS-Atom/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angular-ui%2FAngularJS-Atom/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/angular-ui","download_url":"https://codeload.github.com/angular-ui/AngularJS-Atom/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234909086,"owners_count":18905504,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["angularjs","atom"],"created_at":"2024-09-27T17:03:09.961Z","updated_at":"2025-10-01T23:30:36.190Z","avatar_url":"https://github.com/angular-ui.png","language":"CoffeeScript","readme":"# AngularJS v1.x support in Atom\n\nAdds syntax highlighting and snippets to AngularJS v1.x in Atom.\n\nOriginally [converted](http://atom.io/docs/latest/converting-a-text-mate-bundle)\nfrom the [AngularJS TextMate bundle](https://github.com/angular-ui/AngularJs.tmbundle).\n\nContributions are greatly appreciated. Please fork this repository and open a\npull request to add snippets, make grammar tweaks, etc.\n\n## Supported features\n\n### Autocompletes\n\nYou can use autocompletes for directives in HTML and\nangular.js's variables and function in JavaScript.\nSee [settings](https://github.com/angular-ui/AngularJS-Atom/blob/master/settings/)\nfor more details.\n\n![](https://raw.github.com/angular-ui/AngularJS-Atom/master/screenshots/autocompletes.gif)\n\nIf you type some prefix and press \u003ckbd\u003eTab\u003c/kbd\u003e or \u003ckbd\u003eEnter\u003c/kbd\u003e,\nyou can use autocompletes in below.\n\n#### HTML\n```\nng-app\nng-bind\nng-bind-html\nng-bind-template\nng-blur\nng-change\nng-checked\nng-class\nng-class-even\nng-class-odd\nng-click\nng-cloak\nng-controller\nng-copy\nng-csp\nng-cut\nng-dblclick\nng-disabled\nng-focus\nng-form\nng-hide\nng-href\nng-if\nng-include\nng-init\nng-jq\nng-keydown\nng-keypress\nng-keyup\nng-list\nng-model\nng-model-options\nng-mousedown\nng-mouseenter\nng-mouseleave\nng-mousemove\nng-mouseover\nng-mouseup\nng-non-bindable\nng-open\nng-pluralize\nng-show\nng-transclude\nng-view\nng-messages\nng-message\nng-messages-include\nng-swipe-left\nng-swipe-righ\nng-dirty\nng-false-value\nng-invalid\nng-maxlength\nng-minlength\nng-message-exp\nng-options\nng-paste\nng-pattern\nng-pristine\nng-readonly\nng-required\nng-repeat\nng-repeat-start\nng-repeat-end\nng-selected\nng-src\nng-srcset\nng-style\nng-submit\nng-switch\nng-switch-when\nng-switch-default\nng-trim\nng-true-value\nng-valid\nng-value\n```\n\n#### JavaScript\n\n```\nangular\nbind\nbootstrap\ncopy\nelement\nequals\nextend\nforEach\nfromJson\nidentity\ninjector\nisArray\nisDate\nisDefined\nisElement\nisFunction\nisNumber\nisObject\nisString\nisUndefined\nlowercase\nmodule\nnoop\nreloadWithDebugInfo\ntoJson\nuppercase\n$anchorScroll\n$animate\n$cacheFactory\n$compile\n$controller\n$document\n$exceptionHandler\n$filter\n$http\n$httpBackend\n$interpolate\n$interval\n$locale\n$location\n$log\n$parse\n$q\n$rootElement\n$rootScope\n$sce\n$sceDelegate\n$templateCache\n$templateRequest\n$timeout\n$window\n$animateProvider\n$compileProvider\n$controllerProvider\n$filterProvider\n$httpProvider\n$interpolateProvider\n$locationProvider\n$logProvider\n$parseProvider\n$rootScopeProvider\n$sceDelegateProvider\n$sceProvider\n$injector\n$provide\n$ariaProvider\n$aria\n$cookieStore\n$cookies\nmock\n$exceptionHandlerProvider\nTzDate\ndump\ninject\n$resource\n$routeProvider\n$route\n$routeParams\n$sanitize\n$swipe\ncontroller\n$scope\nservice\nfactory\nprovider\nngResource\ndefer\nconfig\nwhen\notherwise\ndirective\nrun\nfilter\n```\n\n### Snippets\n\nYou can use snippets in HTML and JavaScript.\nSee [snippets](https://github.com/angular-ui/AngularJS-Atom/tree/master/snippets)\nfor more details.\n\n![](https://raw.github.com/angular-ui/AngularJS-Atom/master/screenshots/snippets.gif)\n\nIf you type prefix and press `tab`,\nIt will be replaced by snippet for it.\n\n#### HTML\n\n##### ngindex\n```\n\u003chtml\u003e\n\u003chead\u003e\n  \u003cscript src=\"https://ajax.googleapis.com/ajax/libs/angularjs/$1/angular.js\"\u003e\u003c/script\u003e\n\u003c/head\u003e\n\u003cbody ng-app\u003e\n $2\n\u003c/body\u003e\n\u003c/html\u003e\n```\n\n##### ngsa\n```\n\u003cscript type=\"text/javascript\" src=\"http://ajax.googleapis.com/ajax/libs/angularjs/$1/angular.js\"\u003e\u003c/script\u003e\n```\n\n##### ngst\n```\n\u003cscript type=\"text/ng-template\" id=\"$1\"\u003e\n  $2\n\u003c/script\u003e\n```\n\n##### nginc\n```\n\u003cng-include src=\"$1\" ${2: onload=\"$3\"} ${4: autoscroll=\"$5\"}\u003e\u003c/ng-include\u003e\n```\n\n##### ngplural\n```\n\u003cng-pluralize count=\"$1\" when=\"$2\" ${3: offset=\"$4\"}\u003e\u003c/ng-pluralize\u003e\n```\n\n##### ngswitch\n```\n\u003cng-switch on=\"$1\"\u003e$2\u003c/ng-switch\u003e\n```\n\n##### ngtmpl\n```\n\u003cscript type=\"text/ng-template\"\u003e$1\u003c/script\u003e\n```\n\n##### ngview\n```\n\u003cng-view ${1: onload=\"$2\"} ${3: $autoscroll=\"$4\"}\u003e\u003c/ng-view\u003e\n```\n\n#### JavaScript\n\n##### ngm\n```\nangular.module('$1', [$2])$3\n```\n\n##### ngma\n```\nvar $1 = angular.module('$2', [$3])$4\n```\n\n##### ngmc\n```\nvar $1 = angular.module('$2', [$3], function($4) {\n    $5\n})$6\n```\n\n##### ngmfa\n```\nfactory('$1', function($2) {\n  $3\n})$4\n```\n\n##### ngmfi\n```\nfilter('$1', function($2) {\n  return function (input, $3) {\n    $4\n  };\n})$5\n```\n\n##### ngms\n```\nservice('$1', function($2) {\n  $3\n})$4\n```\n\n##### ngro\n```\n$routeProvider.otherwise({redirectTo: '$1' });\n```\n\n##### ngrw\n```\n$routeProvider.when('$1', {templateUrl: '$2', controller: '$3'});\n```\n\n##### ngrwr\n```\n$routeProvider.when('$1', {templateUrl: '$2', controller: '$3', resolve: {$4} });\n```\n\n##### ngfor\n```\nangular.forEach($1, function(value, key) {\n  $2\n});\n```\n\n##### ngdl\n```\n.directive('$1', function($2) {\n  $3\n  return function(scope, element, attrs) {\n    $4\n  }\n})$5\n```\n\n##### ngdlf\n```\nfunction (scope, element, attrs) {\n  $1\n}\n```\n\n##### ngdc\n```\n.directive('$1', function factory($2) {\n  var directiveDefinitionObject = {\n    $3\n    compile: function compile(tElement, tAttrs, transclude) {\n      $4\n      return function (scope, element, attrs) {\n        $5\n      }\n    }\n  };\n  return directiveDefinitionObject;\n})$6\n```\n\n##### ngdcf\n```\nfunction compile(tElement, tAttrs, transclude) {\n  $1\n  return function (scope, element, attrs) {\n    $2\n  }\n}$3\n```\n\n##### ngb\n```\n$scope.$broadcast('$1', $2);\n```\n\n##### nge\n```\n$scope.$emit('', );\n```\n\n##### ngf\n```\n$scope.$1 = function($2) {\n  $3\n};\n```\n\n##### ngcp\n```\n$1Ctrl.prototype.$2 = function $2($3) {\n  $4\n};\n```\n\n##### ngon\n```\n$scope.$on('$1', function(event, $2) {\n  $3\n});\n```\n\n##### ngv\n```\n$scope.$1 = $2;\n```\n\n##### ngw\n```\n$scope.$watch('$1', function(newValue, oldValue) {\n  $2\n});\n```\n\n#### ngto\n```\n$timeout(function() {\n  $2\n}, $1)\n```\n\n##### ngc\n```\nvar $1 = function($scope, $2) {\n  $3\n}\n```\n\n##### ngc$\n```\n$1Ctrl.$inject = [$scope, '$2'];\nfunction $1Ctrl($scope, $2) {\n  $4\n}\nangular.module($3).controller('$1Ctrl', $1Ctrl);\n```\n\n##### ngdoc\n```\n/**\n * @ngdoc ${1:function}\n * @name $2\n * @description\n * $3\n *\n */\n```\n\n##### nghttp\n```\n$http({method: '${1:GET}', url: '$2'})\n.success(function(data, status, headers, config) {\n  $3\n})\n.error(function(data, status, headers, config) {\n  $4\n});\n```\n\n##### ngcopy\n```\nangular.copy(${1:source} ${2:, ${3:destination}})\n```\n\n##### ngel\n```\nangular.element(${1:element});\n```\n\n##### ngeq\n```\nangular.equals(${1:object1}, ${2:object2});\n```\n\n##### ngext\n```\nangular.extend(${1:destinationObject}, ${2:sourceObject})\n```\n\n##### ngisa\n```\nangular.isArray(${1:value})\n```\n\n##### ngisd\n```\nangular.isDefined(${1:value})\n```\n\n##### ngisf\n```\nangular.isFunction(${1:value})\n```\n\n##### ngisn\n```\nangular.isNumber(${1:value})\n```\n\n##### ngiso\n```\nangular.isObject(${1:value})\n```\n\n##### ngiss\n```\nangular.isString(${1:value})\n```\n\n\n##### nglo\n```\nangular.lowercase(${1:string});\n```\n\n##### ngup\n```\nangular.uppercase(${1:string});\n```\n\n## FAQ\n\n#### Can't I use autocompletion with tab when I installed emmet plugin\n\nSee [emmet's document](https://github.com/emmetio/emmet-atom#tab-key)\n\nIn your `keymap.cson`, add the following code.\n\n```\n'atom-text-editor[data-grammar=\"text html angular\"]:not([mini])':\n  'tab': 'emmet:expand-abbreviation-with-tab'\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fangular-ui%2Fangularjs-atom","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fangular-ui%2Fangularjs-atom","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fangular-ui%2Fangularjs-atom/lists"}