### Based on

This extension is based in sunray97's [newfile-from-template](https://github.com/sunray97/newfile-from-template)

# Angular-File-Templates

Angular-Template-Files is an extension for [Brackets](http://brackets.io/) editor. Provides some common [Angular](http://www.angular.io/) template files to create your new Angular components in your desired path and indicating the module to attach it.

## Usage

A new "New as" item will be added in your Brackets editor. There you can find templates that are available so far. You can also find a new "New from template" item where you will get to a more general form to create your file. All these items have their corresponding hotkey. Once you have selected any of the options you will be prompted for the path (the extension will add .controller.js, .service.js, etc) and the module if needed.

## Configuration

You can set the author name of your files by setting the corresponding option either in your global or project preferences file.

i.e. "angular-file-templates.author" : "John Doe <john.doe@mail.com>"

You can tweak the templates that you can find in the corresponding extension folder under the config folder (i.e. /home/johndoe/.config/Brackets/extensions/user/angular-file-templates/config)

Don't rename the files you find there in order to keep the extension working.

### Based on

This extension is based on sunray97's [newfile-from-template](https://github.com/sunray97/newfile-from-template)

# Angular-File-Templates

Angular-Template-Files is an extension for [Brackets](http://brackets.io/) editor. Provides some common [Angular](http://www.angular.io/) template files to create your new Angular components in your desired path and indicating the module to attach it.

## Usage

A new "New as" item will be added in your Brackets editor. There you can find templates that are available so far. You can also find a new "New from template" item where you will get to a more general form to create your file. All these items have their corresponding hotkey. Once you have selected any of the options you will be prompted for the path (the extension will add .controller.js, .service.js, etc) and the module if needed.
You can add a file using the contextual menu (right-click) on the files area.

## Configuration

You can set the author name of your files by setting the corresponding option either in your global or project preferences file.

i.e. "angular-file-templates.author" : "John Doe <john.doe@mail.com>"

You can tweak the templates that you can find in the corresponding extension folder under the config folder (i.e. /home/johndoe/.config/Brackets/extensions/user/angular-file-templates/config)

Don't rename the files you find there in order to keep the extension working.

Add info about contextual menu
Add info about contextual menu