You must Sign In to post a response.
  • Category: JQuery

    What is angular javascript

    Kindly share the basics of angular javascript in asp.net with c#
  • #758402
    I need sample source code.

  • #758406
    AngularJS is a structural framework for dynamic web applications. AngularJS's data binding and dependency injection eliminate much of the code, otherwise you have to write it.

    suppose you want to populate a paragraph when i enter in a text box. then simply define a text box.

    <input type="text" ng-model="name">

    define a paragraph like this
    <p ng-bind="name"></p>
    now when you write something in textbox it will parallelly inserted in to paragraph.

    for sample source code/ tutorials just go to w3school.

    http://www.w3schools.com/angular/default.asp

    //Regards,
    Saurabh Tyagi
    www.dotnetblogpost.com

    Rate As Answer, If you satisfied.

  • #758409
    Hi

    AngularJS is a Framework for client side advanced from Jquery we can access like class using Angularjs

    hi refer this url


    http://www.w3schools.com/angular/
    http://tutorialspoint.com/angularjs/

    <html>
    <title>AngularJS First Application</title>
    <body>
    <h1>Sample Application</h1>
    <div ng-app="">
    <p>Enter your Name: <input type="text" ng-model="name"></p>
    <p>Hello <span ng-bind="name"></span>!</p>
    </div>
    <script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.3.14/angular.min.js"></script>
    </body>
    </html>

    Name : Dotnet Developer-2015
    Email Id : kumaraspcode2009@gmail.com

    'Not by might nor by power, but by my Spirit,' says the LORD Almighty.

  • #758412
    Hi Anjali,

    AngularJS is a JavaScript MVC framework developed by Google that lets you build well structured, easily testable, and maintainable front-end applications and dynamic web apps.

    It lets you use HTML as your template language and lets you extend HTML's syntax to express your application's components clearly and succinctly.

    Angular's data binding and dependency injection eliminate much of the code you would otherwise have to write.

    Example:
    <html>
    <script src= "http://ajax.googleapis.com/ajax/libs/angularjs/1.3.14/angular.min.js"></script>
    <body>

    <div ng-app="myApp" ng-controller="myCtrl">

    First Name: <input type="text" ng-model="firstName"><br>
    Last Name: <input type="text" ng-model="lastName"><br>
    <br>
    Full Name: {{firstName + " " + lastName}}

    </div>

    <script>
    var app = angular.module('myApp', []);
    app.controller('myCtrl', function($scope) {
    $scope.firstName = "Nirav";
    $scope.lastName = "Lalan";
    });
    </script>

    </body>
    </html>

    You can refer the below site for more examples:
    http://www.w3schools.com/angular/

    Regards,
    Nirav Lalan
    DNS Gold Member
    "If you can dream it, you can do it."

  • #758419
    Hi

    Simple example of AngularJS

    <html>
    <title>AngularJS Sample Application</title>
    <head>
    <script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.3.14/angular.min.js"></script>
    </head>
    <body>
    <h1>AngularJS Sample Application</h1>
    <div ng-app="">
    <p>Enter Your Name: <input type="text" ng-model="name"></p>
    <p>Hello <span ng-bind="name"></span>!</p>
    </div>
    </body>
    </html>

    Check the below links for understanding basic concepts of AngularJS

    http://stephanebegaudeau.tumblr.com/post/48776908163/everything-you-need-to-understand-to-start-with
    http://tutorialspoint.com/angularjs/
    http://weblogs.asp.net/dwahlin/learning-angularjs-by-example-the-customer-manager-application
    http://www.dotnetcurry.com/showarticle.aspx?ID=1000
    http://xombe.com/2014/02/17/combine-angular-js-with-asp-net-mvc/
    http://www.sitepoint.com/10-reasons-use-angularjs/
    http://stackoverflow.com/questions/18414012/why-use-angularjs-instead-of-jquery
    http://odetocode.com/blogs/scott/archive/2013/02/26/why-use-angularjs.aspx
    http://www.dotnetspider.com/forum/337624-AngularJS-Need-and-Use.aspx

    Videos tutorial: http://channel9.msdn.com/Events/Build/2014/3-644

  • #758438
    AngularJS, commonly referred to as Angular, is an open-source web application framework, maintained by Google and the community, that assists with creating single-page applications, which consist of one HTML page with CSS and JavaScript on the client side.
    I have share good links on angular js in Curah, you can check them on below link
    https://curah.microsoft.com/251015/what-is-angularjs-getting-started-with-angularjs

    Thanks
    Koolprasd2003
    Editor, DotNetSpider MVM
    Microsoft MVP 2014 [ASP.NET/IIS]


  • Sign In to post your comments