Home / Angular.js

Angular.js

AngularJS and TwitterBootstrap

Create a javascript file and save it in file myUsers.js angular.module('myApp', []).controller('userController', ['$scope','$http', function($scope, $http) { $scope.fname = ''; $scope.lname = ''; $scope.passw1 = ''; $scope.passw2 = ''; $http.get("result.php").success(function (response) { $scope.users =response; }); $scope.edit = true; $scope.error = false; $scope.incomplete = false; $scope.editUser = function(id) { if (id == …

Read More »