Tagged Questions
1
vote
2answers
80 views
How to display navigation and footer in every page in Angularjs?
I'm making a SPA. I want to make a separate component for Navigation, Section, and footer. Navigation and footer must display for every page when I go to Home or About page, only the Section should ...
0
votes
1answer
60 views
Angular ui Open Modal Automatically on load page
angular-ui-modal]1 for create my site and I want to show my modal automatically when the user enter in my webpage. With ng-click is easy , I have this code:
var app = angular.module('app', ['ui....
0
votes
0answers
49 views
View doesn't show Controller's data
I have 4 files, View, a Module, a controller and a factory :
Module : project.module.js
(function () {
'use strict';
angular.module('BlurAdmin.pages.projects', [])
.config(routeConfig);
/** @...
0
votes
1answer
184 views
How to add uib-dropdown to a uib-tab to create a simple dropdown menu on a tab made with angular bootstrap?
i'm a novice when it comes to angular js (v1.5) and i'm currently working on a project using angularjs(v1.5), bootstrap 3, UI Bootstrap.
i tried to add the dropdown directive to the tabs directive as ...
1
vote
0answers
129 views
Issue with Parent Child Scope With Modal: Using angular ui router with angular bootstrap modal ($uibModal)
Here is my current code:
Parent Controller
vm.animationsEnabled = true;
vm.open = function (size) {
var modalInstance = $uibModal.open({
animation: vm....
0
votes
1answer
111 views
angular ui bootstrap modal opened in state, how to close in controller?
Hi there I am trying to create stateful modals, using ui-router and ui-bootstrap, I have the modal opening successfully like this,
.state('static.login', {
url: '^/login',
onEnter: ...
0
votes
0answers
43 views
Angular ui-router clear cache(with ui-bootstrap doesn't work)
When we want to clean angular template cache, we have two ways:
1.$templateCache.removeAll();
2.templateurl+ new Date().getTime()
Template cache normal clearance, when it uses ui-bootstrap, it ...
0
votes
1answer
47 views
Bootstrap alert message is not working inside angular run blocks under ui-router?
I am doing sample application to autologut if user is idle for 30 Min. before 1 minutes to logOut have to show an warning message to the user.
So i have calculated the minutes and show the warning ...
0
votes
2answers
15 views
Loading an Angular State on selection of each Tab from Bootstrap
I have a module with multiple states which look like below:
(function() {
'use strict';
var maintenancePortabilityModule = angular.module('maintenance.portability.module',['ui-router']);
...
0
votes
1answer
50 views
Angularjs ui router needs to load child state by default similar to home page
I am using angularjs ui router and I need to load the child state by default (i.e., 'dashboardParent.dashboard').
$stateProvider.state('dashboardParent', {
abstract: true,
url: '/...
0
votes
2answers
82 views
Angular ui router - nested view inside modal
I want to put a Steps Wizard into a Modal.
Here is my working Wizard: plunker http://plnkr.co/edit/achnwMtmebR3oc8bq7pp?p=preview
Here is my working modal: http://plnkr.co/edit/...
0
votes
0answers
75 views
AngularJS UI Router and UI Bootstrap Typeahead
I've built a small search app using AngularJS, Elasticsearch and UI Bootstrap Typeahead. I have all basic functionality working.
What I'm trying to understand is how to use UI Router's nested states ...
0
votes
4answers
96 views
Creation of Local Storage in AngularJS
I have a user based login page in angularjs. When username and password are entered, an url is built and that url returns an id(say a number). Based on this id the tab.html page is returned(This page ...
0
votes
0answers
84 views
bootstrap ui dynamic layout
Some states of my app have this layout
<div class="container-fluid">
<div class="row">
<div class="container" ng-class="grid.main">
<div ui-view class="...
0
votes
1answer
27 views
UI-Router 1.0.0-beta.2 and UI-Bootstrap 2.1.4 dropdown not closing
I'm using ui-route ui-sref in my links with the navbar using UI-Bootstrap dropdowns and if I use the anchor tag with href, the dropdown closes on click, but the anchor tags with ui-sref does not close ...
0
votes
1answer
54 views
Best structure for starting an angular js app?
i am creating a new angular js web app for a website, this will not be SPA.
i will use these libs ui-router, ui-bootstrap, ngResource, in starting.
so, can anyone help me by giving a sugession on ...
0
votes
0answers
394 views
Using a controller as uibModal Controller
So I am working on a module called "ShowTree".
Before this, I have a controller named "InviteUserCtrl". Inside the ShowTree module, there is a button that will show a uibModal that is used to add new ...
1
vote
0answers
38 views
tab content is not loading from ui-router?
I want to load content from ui-router to tab but that is not happening i have a data rendered for each tab through their specify controllers in states. I am not able to see any data in tab, Any idea ...
0
votes
0answers
40 views
ui-bootstrap pagination and ui-router query string parameters how to watch and manage
I want to use ui-bootstrap pagination with ui-router
<ul uib-pagination total-items="totalItems" ng-model="currentPage" ></ul>
and I want to have this url
/user-list
in this case I ...
1
vote
0answers
57 views
How to active tab in Angular Bootstrap UI after change route
I have used tab component in Angular Bootstrap UI and ui-router for routing in my Angularjs app.
Now I want to active one of tabs, after change route. In fact I have a search route and I want to ...
1
vote
4answers
120 views
ng-click and ng-href on the same element
I have a list that I am populating via ng-repeat of links.
some of these links need to open as links via ui-router, and some need to open as modals via ui-bootstrap.
This is my Html
<div class="...
1
vote
2answers
99 views
Error: [$injector:unpr] Unknown provider: ui-calendarProvider <- ui-calendar
I am using Angular 1.5 and have been trying to use AngularUI Router but without any luck.
Whenever I add a div element with ui-calendar such as:
<div ui-calendar="uiConfig.calendar" ng-model="{}"&...
0
votes
1answer
52 views
Invoke Angularjs controller method from Angularjs view which related to another Angularjs controller
I am new to Angularjs, I have created simple web application that takes the details from user and display the details in the view. I am facing problem while invoking a method of one controller from ...
1
vote
0answers
95 views
Angular ui.router display Bootstrap modal (popup)
Someone know how ui.route with Boostrap works?
.state('detalleProducto', {
modal: true,
templateUrl: 'views/productos/detalleProducto.html',
controller: ...
0
votes
1answer
66 views
Collapse plugin renders a rising scrollbar on bootstrap navbar
Make sure the right panel is wide enough so that the navbar does not collapse and you will see a horizontal scrollbar (on initial load / refresh) that floats upwards starting from the bottom of the ...
0
votes
1answer
813 views
Navbar dropdown with Angular and ui-router won't work
I've been banging my head against this for a while, and for some reason I'm unable to get a simple bootstrap navbar dropdown to work with angular ui-router and ui-bootstrap (1.3.3, the latest). Here's ...
0
votes
1answer
105 views
Make route to correspond to slide within Bootstrap carousel and update that route when slide changes
I am using ui-bootstrap and ui-router. I would like to have a URL structure that allows me to link to a slide within a carousel such as,
/carousel/123/slide/789
This would load carousel "123" and ...
0
votes
1answer
222 views
how to prevent ui-bootstrap pagination control from changing the url route
Within my application I have two views search and masternameserch these views are defined in app.js as:
$stateProvider
.state('search', {
url: '/',
controller: '...
5
votes
4answers
426 views
Angularjs UI bootstrap temporarily change URL on open and revert to original URL on close
I want to temporarily change the browser url when the ui bootstrap modal is opened ( The page behind should remain as is, only the url changes ). When the modal is closed the url should be reverted ...
-1
votes
1answer
115 views
Angularjs change url without changing the state, when ui bootstrap modal is opened. Revert url to previous state when modal is closed [duplicate]
I am trying to implement Pinterest style listing page, where on click of pins the details popup opens up and the url changes to something like http://pinterest.com/pin/123456. But the page is intact ...
0
votes
0answers
14 views
Modals as States: When I click outside to revert to previous state the page reloads several times and throws errors
I am having this problem consistently. I have an app that has stateful modals for viewing certain data. When I click outside the modal area to revert to the previous state (which is the usual behavior ...
0
votes
1answer
67 views
How to use “LESS” in angularjs project using UI-ROUTER
I am using bootstrap template in my angularjs project which is served by Grunt. Everything else is working fine, but the Components of bootstrap template which are using LESS are not getting rendered ...
0
votes
1answer
113 views
Dropdown menus do not act as expected using Angular UI Bootstrap Navbar & UI-Router
We have an Angular site using UI Bootstrap & UI-Router
When in collapsed mode, if you click any open with a drop down, the menu re-collapses before the user can see the dropdown options.
Here's ...
0
votes
0answers
41 views
boostrap 3 nav-pills using Angular ui router with multiple states
i am new to this
i have 3 pills.calendars,Holidays,Exceptions.i am using angular ui router.i want that when user click on by default calendars list will be shown .if he click on holidays tab than it ...
0
votes
0answers
31 views
boostrap 3 nav-pills using Angular ui router
i have 3 pills.calendars,Holidays,Exceptions.i am using angular ui router.i want that when user click on by default calendars list will be shown .if he click on holidays tab than it will be shown and ...
0
votes
1answer
112 views
Angular UI-Router routing configuration not working
I am using UI-Router to do the routing for my new application.I have my state defined for home page. I have link in my page for "Sign Up" which needs to open as a modal window as separate state and i ...
0
votes
1answer
564 views
angularjs: how to go back to previous page from a nested view when clicking back button of browser?
I have two pages, index.html and tabs.html. tabs.html is a nested structure, it has a tabs component and every tab is bind to a state(tab1, tab2, tab3). When changing from index.html to tabs.html, the ...
0
votes
0answers
45 views
TypeError:productlist.products.push is not a function
Here is code for Factories
LifeStyleFactoryMOdule.factory("PurchaseFactory",function(){
var productlist={products:[]};
return{
getpurchaseCart:function(){
return productlist;
...
0
votes
0answers
160 views
Failed to load template with UI-Router
In my index.html I'm calling scripts ui-bootstrap-tpls.min.js version 0.14.3 and below, angular-ui-router.min.js version 0.2.15.
<!DOCTYPE html>
<html lang="pt-BR" ng-app="main">
<...
0
votes
1answer
211 views
When changing route state via a dropdown, how can I set a tab as active in a sub view?
I've assembled an angularjs app with ui-bootstrap & ui-router which has some tabbed sub-views where 'index' has a 'ui-view', then for some views,
a template with 'uib-tabset' and another 'ui-view'...
2
votes
3answers
5k views
how to change route for each tab in uib-tabset
When I choose a tab, I want the url to change. should I create a state for each tab ?
This is my code which works fine without changing the state .
My app.js
var myApp=angular.module('app', ['ui....
0
votes
1answer
98 views
Extending UI-Router-Tabs To Display Form Validation State
I'm pretty new to Angular and having a problem figuring out how to bind a value from a data service to a customization of the https://github.com/rpocklin/ui-router-tabs project that I have created.
...
1
vote
0answers
133 views
trouble with angularjs ui-sref
I'm using tabset view in one of my pages.I have divided each tab into each html pages..and I'm loading them as templates using ui-sref.
<div class="white-bg animated fadeIn">
<div class="...
0
votes
1answer
287 views
angular nested modal over items list
BaseUrl: /en/products/
I have: State URL:
/en/products/doors?color=red&type=shaped
This state contains list of items to be sold. Filtered by params.
When I click on one item (name: Red Beech ...
0
votes
1answer
56 views
Changing $locale in ui-router
What I want to achieve
In our angularjs we are using angular-ui-bootstrap for our datepickers. We want our datepickers to be localized in the user's locale but we cannot do that dynamically because ...
0
votes
0answers
266 views
ui-router loading html but not showing
I have a job state with :jobId parameter.
$stateProvider
.state('employer', {
url: "/",
abstract: true,
templateUrl: '../partials/employer/employerHome.html',
...
1
vote
1answer
2k views
Navigate after click on ok button of confirm box using angular.js
i have one issue.my requirement is when user will try to move to next state/page one confirm box will appear and if user is clicking on ok button then only it will navigate to next state otherwise it ...
0
votes
1answer
54 views
set up AngularUi Application
I'm trying to start a single page application using AngularUi but I'm having trouble making a basic example work. Here are my different files :
index.html :
<!doctype html>
<html lang="en" ...
1
vote
1answer
79 views
Previous state view doesn't keep in the background of opened UI Bootstrap modal with custom modal url
When I click on the link << Add Call >> the modal is opened with custom URL but in the background is a blank view, I want the previous state to still appearing behind the modal when opened
...
0
votes
1answer
351 views
Modal Popups in AngularJS using angular-ui-router ($stateProvider) without updating the browser url
My criteria was:
Open a modal from anywhere in my app
Don't rewrite the url, leave it as is from before opening the modal
When pressing the back button on the browser don't remember modal states and ...