Fork me on GitHub

The Interpolator

suggestions/blogs/tutorials often look like this:

build an example app

for this example your app is called mytodo

first

mkdir mytodo && cd mytodo

As an added bonus, the Angular generator will dynamically use the name of your folder to make a namespace for your app. For example, mytodo will become angular.module(‘mytodoApp’, []). So make sure that you don’t have any typos in mytodo before going onto the next step.

your new package.json will look like:

{
  "name": "mytodoApp"
  "description": "An example module to illustrate the usage of a package.json",
....
....
....

annotater({
    name: /\bmytodo/,
    modelReplaces: 'your app is called mytodo',
    modelPrompt: 'your app name: '
});