12345678910111213141516 |
- app.controller('StdFaceScoreCtrl', function($rootScope, $scope, $http, $timeout, $state, toaster) {
- $scope.load = function(){
- $scope.score = {};
- $scope.myPromise = $http({
- url : $rootScope.host_url + '/acquire/getFaceScore?session=' + $rootScope.session,
- method : 'GET'
- }).success(function(data) {
- if(data.code == 0){
- $scope.score = data.result;
- }
- }).error(function() {
- });
- }
-
- $scope.load();
- })
|