Angular and DOM Manipulations in Directives

If you are following Angular “way” to create applications, you know that all DOM manipulations should be reserved for directives. What if you would like to alter DOM there by adding new DOM elements and at the same time use other directives, such as ng-model inside new DOM elements.  You would think that something like …

Continue reading ‘Angular and DOM Manipulations in Directives’ »

Bootstrap Collapse No Working with Angular

I ran into an issue today when I tried to use Bootstrap’s collapse functionality inside an Angular JS based application.  What would happen is when I click on panel heading, my application would go to the root (default route).  This, of course, is caused by browser processing anchor click event in addition to collapse JavaScript …

Continue reading ‘Bootstrap Collapse No Working with Angular’ »

Building Pagination Directive in Angular and Twitter Bootstrap

One thing that every business app eventually needs is an ability to search for something and show results using paging.  The reason for that is that too many rows in search result set can bring any application to its knees.  Hence, you should always page search results.  If you are building a web application, there …

Continue reading ‘Building Pagination Directive in Angular and Twitter Bootstrap’ »