Angular Interview Question Close All Main diffrence Between AngualrJS and Angular ? AngularJs Angular JavaScript-based Framework TypeScript based Framework It follows a Model-View-Controller (MVC) architectural pattern. It follows a component-based architecture with a hierarchical dependency injection system. AngularJS can suffer from performance issues when handling large-scale applications due to its two-way data binding and digest cycle. Angular provides improved performance and speed compared to AngularJS. It introduced a change detection mechanism that is faster and more efficient. What is Lazy and Eager Loading in Angular ? Eager Loading is the default loading in Angular. It loads all the modules ...
<a href="#!" onclick="myfunction({{x.value }})">button</a> Solution <a clickon="myfunction({{x.value}})" href="#!">button</a> <script> $(document).on("click", "[clickon]", function () { var y = $(this).attr('clickon'); setTimeout(y, 1) }); function myfunction(val){ alert(val) } </script> if this post was helpful for u pls drop comment in comment box and subcribe to web2tags
Comments
Post a Comment