aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content/guide/directive.ngdoc
AgeCommit message (Collapse)Author
2013-10-03docs(guide/directive): fix indentation in example codemtaran-google
Closes #4241
2013-10-03docs(guide/directive): clarify use of binding to scopesgdennie
The use of 'angular' as sample text is confusing to the newbie in that they are forced to confirm that the text 'angular' is not a keyword or otherwise referring to a system component. This is changed to a more obvious sample text. The most common form of `ngBind` is moved to the top of the list. Closes #4237
2013-07-04docs(guide/directive): make directive controller minification-safeAndrew O'Brien
It is best to emphasize that the "controller" property needs to be min safe Closes #3125
2013-06-19docs(directive): fix typosarkasm
2013-05-22docs(guide/directive): clarify directive priorityJens Rantil
Fixes #2644.
2013-05-21doc($compile): clarify compile function return valueJens Rantil
If a compile function (within a directive) returns a function, it is a post-link function. Closes: #2713
2013-04-30docs(guide:directive): add directive controller usageChris Nicola
Specifically adding a directive controller to the example definition and how to use declare injectables to avoid minification errors.
2013-04-17docs(directive guide) typo in compile/link section@fbiville
The code snippet shows `{{action.description}}`, the explanation referred to it as `{{action.descriptions}}`.
2013-04-11docs(guide/directives): give more details about directive declarationLuc Morin
2013-04-04docs(directive): fix typoSrinivas Kusunam
2013-03-20docs(directive): Fix entity confusion in example.Arlen Christian Mart Cuss
2013-03-08docs(directive): minor typo fixNiel de la Rouviere
Changed "obeject" to "object"
2013-02-25docs(guide/directives): update obsolete doc referenceVineet Kumar
Replace an obsolete reference to a nonexistent "Creating Widgets" section with a real link to "Creating Components".
2013-02-14docs(guide): fix some invalid javascript in directive documentationDylan Pyle
Use double quotes to maintain consistency with other HTML
2013-01-17docs(guide): minor grammar fixesMatt Rohrer
2013-01-13doc(directive): Fix typos in dialog widgetLucas Galfasó
Fixes #1799
2012-12-19docs(guide): minor English corrections to the Directive guideJohn Fletcher
2012-12-18docs(directive): old syntaxMiško Hevery
2012-11-29docs(directive): correct expression, fix typo and re-wrap linesDaniel Luz
2012-11-22docs(): Fix a couple of typos in the documentationKris Jenkins
2012-11-22docs(guide/directive): fix typoJohn Hume
2012-11-11docs(guide/directive): fix names in scope '='; easier to grokTim Macfarlane
2012-11-05docs(directive): fix typoMiško Hevery
2012-09-13docs(directive): remove reference to old isolation syntaxMiško Hevery
2012-09-11docs(guide): fix directive interpolation example codeBrian Ford
Closes #1339
2012-08-30doc(devguide) - Fix typos and small grammatical errors in the developer guide.Steve Nicolai
2012-08-30fix(docs): Fix typos and improve grammar.Jamie Krug
2012-08-30fix(docs): Fix bad links.Jamie Krug
2012-08-27doc(directive) correct typosColin Frei
2012-08-10docs(guide): hide scenario for directive exampleVojta Jina
scenario test for this example would be tricky, we need to teach the runner how to inject mocks first.
2012-07-19fix(docs): Fixed defer to timeout change in timer directive exampleChris Dawson
2012-07-19fix(docs): Spelling errorsChris Dawson
2012-06-12docs(*): simplify doc urlsIgor Minar
we now have two types of namespaces: - true namespace: angular.* - used for all global apis - virtual namespace: ng.*, ngMock.*, ... - used for all DI modules the virual namespaces have services under the second namespace level (e.g. ng.) and filters and directives prefixed with filter: and directive: respectively (e.g. ng.filter:orderBy, ng.directive:ngRepeat) this simplifies urls and makes them a lot shorter while still avoiding name collisions
2012-06-08feat($compile): simplify isolate scope bindingsMisko Hevery
Changed the isolate scope binding options to: - @attr - attribute binding (including interpolation) - =model - by-directional model binding - &expr - expression execution binding This change simplifies the terminology as well as number of choices available to the developer. It also supports local name aliasing from the parent. BREAKING CHANGE: isolate scope bindings definition has changed and the inject option for the directive controller injection was removed. To migrate the code follow the example below: Before: scope: { myAttr: 'attribute', myBind: 'bind', myExpression: 'expression', myEval: 'evaluate', myAccessor: 'accessor' } After: scope: { myAttr: '@', myBind: '@', myExpression: '&', // myEval - usually not useful, but in cases where the expression is assignable, you can use '=' myAccessor: '=' // in directive's template change myAccessor() to myAccessor } The removed `inject` wasn't generaly useful for directives so there should be no code using it.
2012-06-04docs(guide): correct couple of typosunknown
2012-06-02doc(guide): clean up broken linksMisko Hevery
2012-05-04chore(docs): re-skin main documentationMisko Hevery