On Saturday, February 27, 2016 at 9:57:33 PM UTC+5:30, Jaish Mathews wrote:
>
> I am new to ASP.NET MVC with angularjs ui router. My main container DIV
> is like below inside main page LaegeSkift.cshtml. I have a .CS controller
> action with name "Indledning" and it's returned view (Indledning.cshtml) is
> loading under "ui-view".
>
> <div id="divContent" class="span9">
> <div ui-view>
> <div ui-view="Indledning"></div>
> </div>
> </div>
>
> Now I need to load another partial view(IndledningDetaljer.cshtml) under same
> "ui-view" on Next button click. Code is like below
>
> angular.module('ServiceModule').controller('IndledningController',
> ['$rootScope', '$scope', '$q', '$state', '$location',
> function ($rootScope, $scope, $q, $state, $stateParams, $location) {
> $scope.GoToDetailer = function () {
>
> $state.go("laegeskift.IndledningDetaljer");
> }
> }]);
>
> Hit is reaching inside my .CS Controller "IndledningDetaljer" and address bar
> is changing to "http://localhost:54573/home/LaegeSkift#/IndledningDetaljer",
> but View not changed. I attached App.js here. My full sample code has
> uploaded here,
> https://onedrive.live.com/redir?resid=8A773C1CFAB0D6B9!14489&authkey=!ACjc0w9vijENCz0&ithint=file%2czip
> Once ran the application, need to manually make the URL to
> localhost:54573/Home/LaegeSkift . Then click the button on right bottom to
> navigate to next state
>
>
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.