| author | rougeronj |
| Fri, 20 Mar 2015 11:32:02 +0100 | |
| changeset 20 | a84fce1b1a98 |
| 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 !'); }); }); })();