| author | rougeronj |
| Mon, 23 Mar 2015 12:22:44 +0100 | |
| changeset 24 | 21ecbde9e080 |
| parent 14 | 4d27fbc3f9df |
| permissions | -rw-r--r-- |
(function(){ 'use strict'; angular.module('ammicoLogin',['ngRoute']) .config(function ($routeProvider) { $routeProvider .when('/', { templateUrl: 'login/login.html', controller: 'loginCtrl' }); }) .controller('loginCtrl', function($http){ $http.get('http://127.0.0.1:8080/ammico/login/?&username=toto@gmail.com'). success(function() { console.log('KATAPLA !'); }); }); })();