I was wondering whether someone could explain to me how AngularJs directives work.
I have the following code at the moment:
Index.html:
and my Login.html:
and finally my login.ts:
I'm trying to get that template file to be inserted into the index.html file. At the moment it currently just shows a blank screen, rather than the login.html, however when I remove the directive and copy and paste the code into the index.html it is fine and displays perfectly.
Any help is really appreciated.


