Creating Custom Directives in AngularJS with example
Directives can be used in four ways As elements: As attributes: As classes: As comments : Usually we use directives as elements and attributes. Let’s see that how we can create directives using an example In above example we created a angular...
AngularJS Directives with examples
At a high level, directives are markers on a DOM element (such as an attribute, element name, comment or CSS class) that tell AngularJS's HTML compiler ($compile) to attach a specified behavior to that DOM element or even transform the DOM element and its children....
Cascade DropDownLists in ASP.NET MVC 5 and Entity Framework
Hi guys today I am going to demonstrate that how we can create cascade dropdown list control in asp.net MVC 5 using Razor and entity framework. Usually we need this solution. Create a new Project. Open Visual Studio 2013. Go to "File" => "New" => "Project...". Select...
AngularJS Binding and Expressions with example
Expressions are used to bind application data to HTML Template. They are pure JavaScript expressions.Expressions are written inside double curly braces such as in {{ expr }}. {{qty*cost}} {{ fname+' '+lname }} {{ items[1]+items[4] }} loop {{i}} {{person.fname+'...