Problem I have a $scope.users that I use to show a table and I need to apply a filter with […]
Tag: angular.js
Conditional async validation function
Problem We have the following validation function: var result = scope.CurrentUser.Surname.length > 0; var d = $q.defer(); if (result) { […]
Deriving stars from a product score
Problem This function derives a ‘stars’ rating from a product score that is retrieved from local storage. What would be […]
Looping through an Array of objects to find an ID in a sub array
Problem I have an Array of objects, each which contain their own sub Tags Array, and I need to loop […]
Dynamically generating a HTML option list using Angular.js
Problem I used step 4 from the Angular tutorial to do some tinkering of my own. In that particular step […]
Angular notification (alert) factory or directive
Problem I am new to AngularJS and I thought of trying something simple: a notification factory that is useful for […]
Grab photos from Flickr
Problem I wrote the following code for a coding challenge I was given and it received the following criticism: it […]
Service per Controller
Problem We have a base module consuming the company API. In each app I’ve written almost always a service per […]
Angular JS photo app for personal cloud [closed]
Problem Closed. This question is off-topic. It is not currently accepting answers. Authorship of code: Since Code Review is a […]
Struggling to unit test Angular, was this module the best approach?
Problem As a development team we’ve recently started to transition from MVC to Angular. None of us have had prior […]