how to change route for each tab in uib-tabset

AngularJS
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 . ...
4 years ago

How can I set up a d3 chart inside a custom directive in Angular?

AngularJS
I'v been following a few walkthroughs on how to implement d3 charts in an angular application. Basically, Im trying to implement the following d3 char...
4 years ago

Angular directive access value in scope

AngularJS
How can I read a directive value like the info attribute in the scope? <div ng-controller="Controller"> <my-customer info="naomi"></...
4 years ago

AngularJS ui-router $state.go('^') only changing URL in address bar, but not loading controller

AngularJS
I am trying to create a "Todo App" with angularjs ui-router. It has 2 columns: Column 1: list of Todos Column 2: Todo details or Todo edit form In...
4 years ago

angular.js:13550 Error: Could not resolve 'item1' from state 'mainpath'

AngularJS
In my default homepage, I have 1 navbar with 2 items. My config for the main ui-view is: angular.module('app').config([... $urlRouterProvider.ot...
4 years ago

Angular ng-bind not accessing scope variables

AngularJS
ng-bind is not accessing the $scope variables. When the view loads the data is not rendered - it's just blank, but I can see all of the data I need to...
4 years ago

Issue getting $rootScope injected into config of Angular?

AngularJS
I am doing: myApp.config([ '$httpProvider', '$rootScope', function($httpProvider, $rootScope) { $httpProvider.interceptors.push(function($q) { ...
4 years ago

Unit test returns TypeError: undefined is not a constructor error message

AngularJS
I am trying to write a simple test in Jasmine to test SearchCtrl. However I am not sure how to structure the unit test because it is my first time usi...
4 years ago

How to run WebApi?

AngularJS
Hi I am learning WebApi in VS2015. I have some experience in MVC4 so i know concepts of Routing in MVC$. I am following http://www.c-sharpcorner.com/u...
4 years ago

Datatable with angularJs shows no data error?

AngularJS
I want to use datatable in angularjs. I have written directives and data table initializing and displaying rows in table first time. When searching or...
4 years ago

how to bind and show array of array in angularjs

AngularJS
I'm trying to bind and show the value of array. When I'm assigning the value with the scope variable like this: $scope.StockList = obj.data It's w...
4 years ago

how to get conditional submenus using ng-repeat and ui-router in angular?

AngularJS
I am trying to build a menu where only some of the menu items would have submenus. I am using ng-repeat and ui-router. For example, these are a reduce...
4 years ago

Simplify series of regex-based string replacements

AngularJS
So I'm using filter in my angular app. This filter takes a string and coverts it to text. I have a multiple rules in this filter, because each string ...
4 years ago

Deep $watch a collection in AngularJS

AngularJS
Here is my object: $scope.steps = { service: { selected_service: '', selected_month: '', selected_year: '...
4 years ago

Assign value from successful promise resolve to external variable

AngularJS
I have a pretty silly problem. Consider the following: vm.feed = getFeed().then(function(data) {return data;}); getFeed() returns a $q deferred pro...
4 years ago

Writing JaveScript tests that test other functions are called, without actually calling them

AngularJS
I have been tasked with writing unit tests for some AngularJS code that was written by another team, who didn't write any tests They have written the...
4 years ago

converting an ajax request to angular $http

AngularJS
I'm learning how to use angular and I'm not really that familiar with making request to an api. I'm trying to practice using http://api.football-data....
4 years ago

Populating a Select Box with Nodejs Information

AngularJS
So I have a mongodb database that will house several department names. I want to http.get() the names from my nodejs server. From that get, I want to ...
4 years ago

md-ink-ripple on parent should not be triggered by child

AngularJS
Is it possible to disable md-ink-ripple on a parent element, when I click on a child element like an <md-checkbox>? http://codepen.io/anon/pen/...
4 years ago

Iframe video from Angular Array using ng-bind-html

AngularJS
I'm having some trouble getting an iframe to work through using ng-bind-html. I have all my data inside an array. I've been mainly using ng-bind-html ...
4 years ago