<commit_before># Angular.js EE Snippets for Sublime Text 2/3

<!-- toc -->
* [Overview](#overview)
* [Installation Options](#installation-options)
* [Snippets](#snippets)
  * [Require.js](#requirejs)
    * [[config]    Require.js](#config-requirejs)
    * [[define]    Require.js](#define-requirejs)
    * [[load]    Require.js](#load-requirejs)
  * [Angular.js EE (Enterprise Edition)](#angularjs-ee-enterprise-edition)
    * [[bootstrap]    Angular.js EE](#bootstrap-angularjs-ee)
    * [[load]    Angular.js EE](#load-angularjs-ee)
    * [[module]    Angular.js EE](#module-angularjs-ee)
    * [[module-use]    Angular.js EE](#module-use-angularjs-ee)
    * [[mock-load]    Angular.js EE](#mock-load-angularjs-ee)
    * [[mock-pass-urls]    Angular.js EE](#mock-pass-urls-angularjs-ee)
    * [[mock-pass-backend]    Angular.js EE](#mock-pass-backend-angularjs-ee)
    * [[mock-data]    Angular.js EE](#mock-data-angularjs-ee)
    * [[mock-backend]    Angular.js EE](#mock-backend-angularjs-ee)
    * [[mock-urls]    Angular.js EE](#mock-urls-angularjs-ee)
      * [[mock-w-all]    Angular.js EE](#mock-w-all-angularjs-ee)
      * [[mock-w-one]    Angular.js EE](#mock-w-one-angularjs-ee)
      * [[mock-w-post]    Angular.js EE](#mock-w-post-angularjs-ee)
      * [[mock-w-put]    Angular.js EE](#mock-w-put-angularjs-ee)
      * [[mock-w-delete]    Angular.js EE](#mock-w-delete-angularjs-ee)
      * [[mock-w-search]    Angular.js EE](#mock-w-search-angularjs-ee)
  * [Angular.js](#angularjs)
    * [Services](#services)
      * [[angular]    Angular.js](#angular-angularjs)
      * [[config]    Angular.js](#config-angularjs)
      * [[constant]    Angular.js](#constant-angularjs)
      * [[controller]    Angular.js](#controller-angularjs)
      * [[decorator]    Angular.js](#decorator-angularjs)
      * [[directive]    Angular.js](#directive-angularjs)
      * [[directiveLong]    Angular.js](#directivelong-angularjs)
      * [[factory]    Angular.js](#factory-angularjs)
      * [[filter]    Angular.js](#filter-angularjs)
      * [[module]    Angular.js](#module-angularjs)
      * [[provider]    Angular.js](#provider-angularjs)
      * [[resource-id]    Angular.js](#resource-id-angularjs)
      * [[resource]    Angular.js](#resource-angularjs)
      * [[routeProvider]    Angular.js](#routeprovider-angularjs)
      * [[when]    Angular.js](#when-angularjs)
      * [[otherwise]    Angular.js](#otherwise-angularjs)
      * [[run]    Angular.js](#run-angularjs)
      * [[service]    Angular.js](#service-angularjs)
      * [[value]    Angular.js](#value-angularjs)
    * [Globals](#globals)
    * [jQuery lite](#jquery-lite)
    * [Scope functions](#scope-functions)
    * [Log functions](#log-functions)
    * [Variables](#variables)
    * [Directives (on HTML)](#directives-on-html)
* [Contributing](#contributing)
* [LICENSE](#license)

<!-- toc stop -->


## Overview

* Sublime Text 2 / 3 Snippets and Completions for [Angular.js](http://angularjs.org/), [[GitHub] erkobridee / angularjs-ee-boilerplate](https://github.com/erkobridee/angularjs-ee-boilerplate) and [Require.js](http://requirejs.org/)

* Based on: [[GitHub] maxhoffmann / angular-snippets](https://github.com/maxhoffmann/angular-snippets)

--

* This snippet library provides completions for Angular.js and Require.js (focused to the **angularjs-ee-boilerplate** code).

* Sublime Text uses fuzzy searching for snippets and completions therefore you don’t have to write triggers completely.

* All snippets add Angular’s inline notation for dependencies automatically, so you don’t have to type them twice.



## Installation Options

<!-- * Package Control: search for "AngularJS EE Snippets" -->

* Manual: 

  * Download the package and put it manually inside your `Packages` directory. (`Menu >  Preferences > Browser Packages...`)

  * Clone repository inside your `Packages` directory.

```sh
$ cd ~/Library/Application\ Support/Sublime\ Text\ 2/Packages
$ git clone https://github.com/erkobridee/sublime-angularjs-ee-snippets.git
```


## Snippets

Below is a list of all triggers and respectives snippets currently supported on this package.

> **trigger:** *triggerName* `TAB` key.


### Require.js

#### config

**Description:** config&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Require.js

**Content:**

```javascript
require({

  // libraries dependencies (fallback support)
  paths: {

    ${1:lib}: [
      '${2:lib-path}'
    ]$0

  },

  // define js scripts dependencies
  shim: {

    '${1}': {
      ${3:deps: [],}<commit_msg>README : index, title and description test<commit_after># Angular.js EE Snippets for Sublime Text 2/3

<!-- toc -->
* [Overview](#overview)
* [Installation Options](#installation-options)
* [Snippets](#snippets)
  * [Require.js](#requirejs)
    * [[config]](#config)
    * [[define]    Require.js](#define-requirejs)
    * [[load]    Require.js](#load-requirejs)
  * [Angular.js EE (Enterprise Edition)](#angularjs-ee-enterprise-edition)
    * [[bootstrap]    Angular.js EE](#bootstrap-angularjs-ee)
    * [[load]    Angular.js EE](#load-angularjs-ee)
    * [[module]    Angular.js EE](#module-angularjs-ee)
    * [[module-use]    Angular.js EE](#module-use-angularjs-ee)
    * [[mock-load]    Angular.js EE](#mock-load-angularjs-ee)
    * [[mock-pass-urls]    Angular.js EE](#mock-pass-urls-angularjs-ee)
    * [[mock-pass-backend]    Angular.js EE](#mock-pass-backend-angularjs-ee)
    * [[mock-data]    Angular.js EE](#mock-data-angularjs-ee)
    * [[mock-backend]    Angular.js EE](#mock-backend-angularjs-ee)
    * [[mock-urls]    Angular.js EE](#mock-urls-angularjs-ee)
      * [[mock-w-all]    Angular.js EE](#mock-w-all-angularjs-ee)
      * [[mock-w-one]    Angular.js EE](#mock-w-one-angularjs-ee)
      * [[mock-w-post]    Angular.js EE](#mock-w-post-angularjs-ee)
      * [[mock-w-put]    Angular.js EE](#mock-w-put-angularjs-ee)
      * [[mock-w-delete]    Angular.js EE](#mock-w-delete-angularjs-ee)
      * [[mock-w-search]    Angular.js EE](#mock-w-search-angularjs-ee)
  * [Angular.js](#angularjs)
    * [Services](#services)
      * [[angular]    Angular.js](#angular-angularjs)
      * [[config]    Angular.js](#config-angularjs)
      * [[constant]    Angular.js](#constant-angularjs)
      * [[controller]    Angular.js](#controller-angularjs)
      * [[decorator]    Angular.js](#decorator-angularjs)
      * [[directive]    Angular.js](#directive-angularjs)
      * [[directiveLong]    Angular.js](#directivelong-angularjs)
      * [[factory]    Angular.js](#factory-angularjs)
      * [[filter]    Angular.js](#filter-angularjs)
      * [[module]    Angular.js](#module-angularjs)
      * [[provider]    Angular.js](#provider-angularjs)
      * [[resource-id]    Angular.js](#resource-id-angularjs)
      * [[resource]    Angular.js](#resource-angularjs)
      * [[routeProvider]    Angular.js](#routeprovider-angularjs)
      * [[when]    Angular.js](#when-angularjs)
      * [[otherwise]    Angular.js](#otherwise-angularjs)
      * [[run]    Angular.js](#run-angularjs)
      * [[service]    Angular.js](#service-angularjs)
      * [[value]    Angular.js](#value-angularjs)
    * [Globals](#globals)
    * [jQuery lite](#jquery-lite)
    * [Scope functions](#scope-functions)
    * [Log functions](#log-functions)
    * [Variables](#variables)
    * [Directives (on HTML)](#directives-on-html)
* [Contributing](#contributing)
* [LICENSE](#license)

<!-- toc stop -->


## Overview

* Sublime Text 2 / 3 Snippets and Completions for [Angular.js](http://angularjs.org/), [[GitHub] erkobridee / angularjs-ee-boilerplate](https://github.com/erkobridee/angularjs-ee-boilerplate) and [Require.js](http://requirejs.org/)

* Based on: [[GitHub] maxhoffmann / angular-snippets](https://github.com/maxhoffmann/angular-snippets)

--

* This snippet library provides completions for Angular.js and Require.js (focused to the **angularjs-ee-boilerplate** code).

* Sublime Text uses fuzzy searching for snippets and completions therefore you don’t have to write triggers completely.

* All snippets add Angular’s inline notation for dependencies automatically, so you don’t have to type them twice.



## Installation Options

<!-- * Package Control: search for "AngularJS EE Snippets" -->

* Manual: 

  * Download the package and put it manually inside your `Packages` directory. (`Menu >  Preferences > Browser Packages...`)

  * Clone repository inside your `Packages` directory.

```sh
$ cd ~/Library/Application\ Support/Sublime\ Text\ 2/Packages
$ git clone https://github.com/erkobridee/sublime-angularjs-ee-snippets.git
```


## Snippets

Below is a list of all triggers and respectives snippets currently supported on this package.

> **trigger:** [*triggerName*] `TAB` key.


### Require.js

#### [config]

**Description:** <pre>config		Require.js</pre>

**Content:**

```javascript
require({

  // libraries dependencies (fallback support)
  paths: {

    ${1:lib}: [
      '${2:lib-path}'
    ]$0

  },

  // define js scripts dependencies
  shim: {

    '${1}': {
      ${3:deps: [],}
{'fraction_non_alphanumeric': 0.17603452091170613, 'fraction_numerical': 0.002212878955521133, 'mean_word_length': 3.422211350293542, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 17, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '277491', 'n_tokens_mistral': 3266, 'n_tokens_neox': 2986, 'n_words': 559}