Angular bootstrap

An angular boostrap

HTML

<form ng-submit="mysubmit()" ng-controller="TestCtrl">
    <input type="text" />
    <button ng-click="test()" type='button'>X</button>
    
    <button type='button' class="btn btn-primary" ng-click="logIn()">LOG IN</button>
</form>

JavaScript

var app = angular.module('app', []);
app.controller("TestCtrl", ["$scope", "$http", function($scope, $http) {
    $scope.test = function() {alert('lol');  };
    $scope.mysubmit = function() {alert('submit');};
    $scope.logIn = function() {alert('login');};
    
}]);
angular.bootstrap(document.body, ['app'])