diff --git a/web/ascript.js b/web/ascript.js index 91d8ac3..0ca34f8 100644 --- a/web/ascript.js +++ b/web/ascript.js @@ -1,4 +1,7 @@ var app = angular.module('myApp', []); app.controller('myCtrl', function($scope) { $scope.test = "Successful!"; + if($scope.test == "Successful!") { + document.getElementById("result").style.color="#00FF00"; + } }); diff --git a/web/index.html b/web/index.html index 66efab5..267de2e 100644 --- a/web/index.html +++ b/web/index.html @@ -5,6 +5,6 @@ -

Angular.js Status: {{test}}

+

Angular.js Status: Failed!