Angular ui-router with meteor 1.3

I need help figuring out how does ui-router works with meteor 1.3

This is my main.html

  <title>Todo List</title>

  <div ui-view ng-app="exampleApp">

this is my main.js

import angular from 'angular';
import angularMeteor from 'angular-meteor';
import uiRouter from 'angular-ui-router';
import todosList from '../imports/components/todosList/todosList';

angular.module('exampleApp', [

angular.module('exampleApp').config(function($stateProvider, $urlRouterProvider) {


    .state('home', {
      url: "/",
      templateUrl: "client/login/login.html"

and login.html

this is login

I’m not sure if this is the correct way to do it, but I believe it’s not since when I add the uiRouter and try load the app I just see the login.html template instead of everything inside the ui-view


ehhh… had html syntax typos

  <title>Todo List</title>
  <base href="/">

<body ng-app="exampleApp">

Now it works.