AngularJS_Basics3_Invoke_Directive_Using_Attribute

1
2
<!DOCTYPE html>
<html>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
You can invoke a directive by using:
Element name
Attribute
Class
Comment
-----------------------------------
This is by using Attribute
------------------------------------
Only the template content of myDirective will be displayed.
output:
*******
Made by My directive!

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.