AngularJS | Browser resize function with AngularJS
I used to write some function for small resolution screen using screen width condition. But function was executing when load the page and when resize and refresh the screen.
I used to write some function for small resolution screen using screen width condition. But function was executing when load the page and when resize and refresh the screen.
AngularJS has a set of built-in Directive which has HTML attributes with the prefix ng-
. Make sure your directive naming does not conflicts with HTML5 attributes like <article>, <aside> & <details> etc.
AngularJS custom directives are used to extend the HTML functionality. Custom directives is defined using 'directive' AngularJS function.
I have written Dynamic Table with HTML Form using AngularJS, This tutorial also similar, But you can make dynamic Table without having addition form outside of the
In this tutorial I am going to explain how to we can create dynamic HTML table using AngularJS. Its quite common, Now a day we are using these kind of dynamic Table in many Application using core JavaScript, jQuery etc.
Making Textarea character limit is quite simple using AngularJS, You can set the limit of character using maxlength
. The maxlength
attribute specifies the maximum number of characters allowed in the form inputs.
I have noticed performance issue when use ng-show/ng-hide
in responsive website. But improved the performance after changing to ng-if
. I have identified performance issue in small devices which has less configuration.
Make a Tab using AngularJS. Click tabs to swap between content that is broken into logical sections. I have used ngClick
, ngShow
and ngInit
directives to make exact like jQuery Tab.
Make a Accordion using AngularJS. Accordions are elements used to expand and collapse content that is broken into logical sections, much like tabs.
Data-binding in Angular apps is the automatic synchronization of data between the model and view components. The way that Angular implements data-binding lets you treat the model as the single-source-of-truth in your application.
How to make pagination using AngularJS? Use an HTML table element with the ng-repeat
directive to render only the items for the current page from JSON file.
AngularJS is the most popular single-page application frameworks. Single page apps are becoming popular because of many reason user friendly, no page refresh while changing content, different data on each page etc.
Create single page Todo app using AngularJS. It's very easy to create this app. We can update DOM elements without refreshing the page using AngularJS. This is one of the great AngularJS feature.
Making dynamic addition field/fieldset control is awesome features and user-friendly. Building web applications/CRM containing multi data enty fields, sometime required to add many field for additonal informations.
Using jQuery getJSON()
method is used to get JSON data using an AJAX HTTP GET request. AngularJS have easy method to access external JSON data using AngularJS.
AngularJS have nice way to filter data. A filter formats the value of an expression for display to the user. They can be used in view templates, controllers or services and it is easy to define your own filter.
Copyright © 2024, shanidkv.com