Mainly copyedits and prep for extension + example code cleanup & bug fix + fix bug in default color initialization
		
			
				
	
	
		
			10 lines
		
	
	
		
			267 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			267 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| extends ../../../ts/latest/guide/attribute-directives.jade
 | |
| 
 | |
| block includes
 | |
|   include ../_util-fns
 | |
| 
 | |
| block highlight-directive-1
 | |
|   :marked
 | |
|     We begin by importing the Angular `core`.
 | |
|     Then we define the directive metadata by means of the `@Directive` annotation. 
 |