easyctf-2017/web/js/ascript.js

8 lines
230 B
JavaScript
Raw Normal View History

2015-12-23 22:34:22 +00:00
var app = angular.module('myApp', []);
app.controller('myCtrl', function($scope) {
$scope.test = "Successful!";
2015-12-23 22:53:41 +00:00
if($scope.test == "Successful!") {
document.getElementById("result").style.color="#00FF00";
}
2015-12-23 22:34:22 +00:00
});