user registration page using angularjs validations
Hi, Today we are going to see implementation of user registration page using angularjs validations, In this example I also used ng-disabled directive to make button disabled until all validations error are not resolved. Example Validation Requirements: 1. UserName...
read moreAngularjs radiobutton binding demo with example
Angularjs radiobutton binding demo with example Use of radio button in angular is quite easy to implement. By assign same model property to multiple radio buttons, makes single selection between them. Let me demonstrate with a simple example Example Explanation: Here...
read moreAngular form checkbox demo with example
Using angular, we can easily bind checkbox in scope model. When user checked checkbox then model property will be true or false when unchecked. Using ng-model we can bind model property. Example : {{chk}} Demo Above example will execute and show true in span tag when...
read moreangularjs form select with examples
angularjs form select with examples angularjs provides support for html form control. As we know that form are used for CRUD web activities so it is necessary to use angularjs for forms. In forms angularjs validation can also perform. Angularjs form validation is very...
read moreangularjs custom filter example
Hi, today I am demonstrate implementation of custom filters in angularjs.To know about basics of custom filers please read following blog. ANGULAR FILTER TUTORIAL AND EXAMPLES here I am taking another example of custom filters. {{ content |...
read moreangular filter tutorial and examples
Purpose of Filters A filter formats the value of an expression for display to the user. Filters can be added to expressions and directives using a pipe character. AngularJS filters can be used to transform data: Filter Description uppercase Returns the upper case of...
read moreangular controller example
In this example , I am taking a table which is populated by angular people object and in each row there is a button , when user press a button respective row data will be displayed at below of table. First Name Last Name {{person.firstName}} {{person.lastName}}...
read moreAngularJS Modules Real World Example
Using AngularJS we can easily divide your front-end source code into reusable components, called modules. An AngularJS module is just a container that groups together different components of your application under a common name. Modules are used to isolate logics like...
read moreWebApi Example With Cross Origin Support
Step1 : Create New Project Go to File > New > Project > Select asp.net web application > Entry Application Name > Click OK >Select Empty Template > Check Web API CheckBox > > OK Some Snap Shots of above procedure are given below. Step2 : Add Database Table (Here...
read moreCreating 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...
read moreAngularJS 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....
read moreCascade 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...
read moreAngularJS 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+'...
read moreEntity framework 6 Stored Procedure CRUD in asp.net MVC 5
Hi, today I am writing a blog related to the entity framework (EF) and asp.net mvc 5. Stored procedures (SP) makes life easy of coder. Writing complex queries in SQL server is easier rather than LINQ queries. changes in SQL queries have minor effects in C# code which...
read moreFile Upload in Database Using Entity Framework Code First MVC
Hi, In this blog I am writing sample code to store file name and path into database table using Entity framework code first approach. Download Source Code Step: 1 First Create Controller named Home Controller . Step 2: Create Index.cshtml view into Index Action of...
read moreAngularJS Single Page Application(SPA) or different view on a single view Example
Angular Multiple Views and Routing Each and every application having different view i.e, contact us , about us , Home and feedback.Now angular JS provides new feature of SPA(single page application) . SPA means different web pages can be seen at a single place without...
read moreViewData, ViewBag, TempData and Session Example in asp.net MVC
Data Passing techniques from a controller to View. View Data and View Bag are Data Dictionary objects. ViewData: View Data is accessible using string key value and need typecasting. ViewBag: Dynamic type property, Doesn't require typecasting TempData: TempData is a...
read moreBootstrap menu bar example
Bootstrap Default Menu In bootstrap , menu can be created using div tag with class “navbar” navbar-inverse: This is used when we do not want default coloring(transparent) , It will create menu with black background. navbar-fixed-top: This class is used when we want to...
read more