Sunday 1 January 2017

AngularJS Controller

AngularJS controllers control applications:
app.controller('myCtrl', function($scope) {
    $scope.firstName= "John";
    $scope.lastName= "Doe";
});

No comments:

Post a Comment