Skip to content

Commit 58ad99a

Browse files
committed
Merge pull request mgechev#19 from jnthas/master
Fixed a syntax error
2 parents f403790 + b29825b commit 58ad99a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ With `div#child` is associated `ChildCtrl` but since the scope injected inside `
162162

163163
### Directives
164164

165-
In AngularJS the directives are the place where all DOM manipulations should be placed. As a rule of thumb, when you have DOM manipulations in your controller you should create a new direcrive or consider refactoring of already existing one, which could handle the required DOM manipulations.
165+
In AngularJS the directives are the place where all DOM manipulations should be placed. As a rule of thumb, when you have DOM manipulations in your controller you should create a new directive or consider refactoring of already existing one, which could handle the required DOM manipulations.
166166
Each directive has a name and logic associated with it. In the simplest case the directive contains only name and definition of *postLink* function, which encapsulates all the logic required for the directive. In more complex cases the directive could contain a lot of properties such as:
167167

168168
- template

0 commit comments

Comments
 (0)