angularjs - Why html element not working if I attach it using JQuery? -


i work on angularjs project.

i try append html-string div using jquery that:

 var html = '<a class="navbar-brand" ui-sref="sitesdamages.siteslist" style="padding: 11px 09px;" title="events"><i class="glyphicon glyphicon-exclamation-sign"></i></a>'       $("#inspectorarea").append(html); 

after append html-string icon appears on appended div , when click on icon it's not work(when navigate mouse on anchor mouse not converted pointer , when click on icon in anchor don't reaction.)

while if put html element direct on template works fine.

any idea why html-string not working if append string?


Comments

Popular posts from this blog

java - SSE Emitter : Manage timeouts and complete() -

jquery - uncaught exception: DataTables Editor - remote hosting of code not allowed -

java - How to resolve error - package com.squareup.okhttp3 doesn't exist? -