Please help me with this . I am using a Ui-router with the code below to display my partial-application page`
angular
.module('myAppApp', [
'ngAnimate',
'ngCookies',
'ngResource',
'ngSanitize',
'ngTouch',
'ui.router'
])
.config(function ($stateProvider, $urlRouterProvider) {
$urlRouterProvider.otherwise('/origin');
$stateProvider
// HOME STATES AND NESTED VIEWS ========================================
.state('home', {
url: '/home',
templateUrl: 'views/partial-home.html'
})
//login Page ========================================
.state('login', {
url: '/login',
templateUrl: '/login.html'
})
.state('loginlayout', {
url: '/loginlayout',
templateUrl: 'views/partial-login.html'
})
//Financing Programs Page
.state('financeprogram', {
url: '/financeprogram',
templateUrl: 'views/partial-financeprogram.html'
})
//My Application Page =================================
.state('application', {
url: '/application',
templateUrl: 'views/partial-application.html',
controller: 'ApplicationCtrl'
})
// ABOUT PAGE AND MULTIPLE NAMED VIEWS =================================
.state('about', {
// we'll get to this in a bit
})
//origination page
.state('origin', {
url: '/origin',
templateUrl: 'views/partial-origin.html'
});
});
`
Then my controller Page
![enter code here][1]
Then my View Page
<div class="page" ng-controller="ApplicationCtrl">
<h3>Originations > My Applications </h3>
<hr class="ruler">
<p>The My Applications section will house all applications that you are associated with. Depending on your role within the system, you will see either a “Submissions” list or a “Received” list (or both in some circumstances). Please select from the list(s) below the application you would like to work on by clicking on the Transaction Number found in the left hand column.
</p>
<span class="clearfix"></span>
<h4>Search for Transaction... </h4>
<hr class="ruler">
<hr>
<input ng-model="name">
Angular JS with UI-router
Please help me with this . I am using a Ui-router with the code below to display my partial-application page` angular .module('myAppApp', [ 'ngAnimate', 'ngCookies', 'ngResource',
])
`
Then my controller Page
Then my View Page
I feel everything is right but its not displaying the name value passed from the controller . I do not know what is wrong. Please help
i have solved this by assigning angular.module() to a varibale that i used in all the files.
That fixed the issue
Why did you post this rather AngularJS + UI-router specific question in this Umbraco forum?
... Just a bit curious on how this question & answer is related to Umbraco.
Do you have plans to use Umbraco from this code?
If so, can you tell something about it?
is working on a reply...