easyctf-2017/web/js/ascript.js
2015-12-23 17:36:16 -06:00

7 lines
230 B
JavaScript

var app = angular.module('myApp', []);
app.controller('myCtrl', function($scope) {
$scope.test = "Successful!";
if($scope.test == "Successful!") {
document.getElementById("result").style.color="#00FF00";
}
});