ui-router
ui-router
ui-router
documentation$stateProvider.state()
template: '<h1>So easy!</h1>'
)templateUrl: 'myTemplate.html'
)ui-view
directivepackage.json
package.json
: An Interactive GuidedevDependencies
npm start
, etc.)node_modules
folderbower.json
dependencies
bower_components
folderangular.module('moduleName', [])
)someModule.controller('ControllerName', function)
)$scope
In 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 by
action
attribute is set on the form.ngShow
. Only show the element if the provided expression is falsey.