Skip to content
Snippets Groups Projects

GFA-13514023-Fanda Yuliana Putri

Compare and
35 files
+ 3737
147
Preferences
Compare changes
Files
35
catalog/app.js 0 → 100644
+ 22
0
 
/*
 
* To change this license header, choose License Headers in Project Properties.
 
* To change this template file, choose Tools | Templates
 
* and open the template in the editor.
 
*/
 
 
var app = angular.module('chatApp', []);
 
app.controller('chatCtrl', function($scope) {
 
$scope.check = false;
 
$scope.changeClick = function() {
 
if ($scope.check === false)
 
{ $scope.check = true; }
 
};
 
 
$scope.close = function() {
 
if ($scope.check === true) {
 
$scope.check = false;
 
}
 
};
 
});