ui-routerui-routerui-router documentation$stateProvider.state()template: '<h1>So easy!</h1>')templateUrl: 'myTemplate.html')ui-view directivepackage.json
package.json: An Interactive GuidedevDependenciesnpm start, etc.)node_modules folderbower.json
dependenciesbower_components folderangular.module('moduleName', []))someModule.controller('ControllerName', function))$scopeIn the view (HTML), directives are specified with kebab-case (or “dasherized”)—that is, with words separated by hyphens. Within JavaScript, they are specified with camelCase.
track byaction attribute is set on the form.ngShow. Only show the element if the provided expression is falsey.