Hello,
I create a login page with 2 choices (FB and classic form):
<ion-view title="Login">
<ion-content class="login" scroll="false">
<div class="logoGoStretch" ui-sref="signin"></div>
<div class="logoFB" ng-click="facebookLogin()" ></div>
<div id="fb-root">
</ion-content>
</ion-view>
In app.js:
$urlRouterProvider.otherwise('/login');
$stateProvider
.state('login', {
url: "/login",
templateUrl: "templates/login.html",
controller: "LoginCtrl"
})
.state('signin', {
url: "/signin",
templateUrl: "templates/signin.html",
controller: "LoginCtrl"
})
Nothing is displayed when I click on ui-sref=“signin”, and also when I go directly to localhost:8100/#/signin
But the link works and form is displayed if I click on ng-click=“facebookLogin()”, come back to login page and click to ui-sref=“signin”
Please, I need help.