0

ng-repeat is not binding with the $scope as the data-set is being generated in the console. Here is the working plunk

Kindly load it over http as the data set may not be generated over https.

Any workaround would be appreciated.

1 Answer 1

1

That was a costly but silly miss; the injection order went wrong in your main controller which resulted in injecting $scope to $timeout alias and vice versa. Change

.controller('demoController',['$mdDialog','$q','$scope','$timeout','$http',
function($mdDialog,$q,$timeout,$scope,$http) {

to

.controller('demoController', ['$mdDialog', '$q', '$scope', '$timeout', '$http',
function($mdDialog, $q, $scope, $timeout, $http) {
Sign up to request clarification or add additional context in comments.

2 Comments

Hahaha. I just ignored that part unfortunately :(
Thanks .Helped me a lot!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.