Skip to main content

Unanswered Questions

49 questions with no upvoted or accepted answers
4 votes
0 answers
117 views

Angular controller scope inheritance vs service

On my site I have a navbar component that I want to customize for each and every ng-view I end up loading. Currently I'm doing ...
4 votes
0 answers
325 views

Angular ui.route

I'm new to ui.router in Angular and have to build an app, which contains a header, sidebar (off-canvas), feedback area (save successful and warnings area) and a content area. I thought it would be ...
4 votes
0 answers
9k views

An Object-Oriented Programming pattern for AngularJS models using CoffeeScript classes

Over the past week, we tried to make our AngularJS model layer more powerful and reduce complexity in our controllers and template by using the object-oriented programming pattern and the CoffeeScript ...
3 votes
0 answers
436 views

Publishing angular-cli component library to npm or like

I've found a lot of blog posts that seem to suggest publishing a library TypeScript (as source) and all to npm or to a private repository. It feels like we should be doing some transpiling first and ...
3 votes
0 answers
6k views

Angular UI Datepicker Popup with Default Time

I need to set date and time (12 hours 0 minutes) via Angular UI DatePicker Popup. plunker I had two issues: 1. When page was loaded: Input had value 17-March-2017 12:00:00.000. It's right. But ...
3 votes
0 answers
299 views

AngularJs: Preventing multiple $q.get() per url

I've wrote a pretty useful method to prevent multiple requests per single get url. There is a well known pattern - to store promise and return it for each next ...
3 votes
0 answers
94 views

Prevent search changes from spamming history

This is my solution to my SO question. My requirements are: use links inside of the angular app when following a link with the same path (i.e., differing in the <...
3 votes
0 answers
57 views

Dynamically displaying different controllers

I have here a simple webapp for displaying different D3 demonstrations: The idea is - the user can select one of many modules in the control bar at the top, and the corresponding controls for that ...
3 votes
0 answers
65 views

A simple list of objects to display and edit with Angular

I want to create a simple CRUD app using angular on the frontend. I'm not really happy with the logic here, it seems a bit convoluted for fairly simple functionality. ...
3 votes
0 answers
725 views

AngularJS client side logging in a MVC web application

Being a newbie into AngularJS, I have overlooked the importance of client side logging until some non-reproducible client-side errors occurred and I realized that they were not logged. My web ...
3 votes
0 answers
69 views

Updating offers based on selected products

I have some nokia mobile models with some offers. There are two objects, one for nokia models with price, another one for offers. For example I have offers for these two models: "brandname": "Nokia" ...
3 votes
0 answers
94 views

Knowledge base app using MEAN stack

I've been working on an app based on the MEAN Framework. I have got the app working but I just wasnt sure whether my coding structure and standard was good enough, meaning does it adhere to the ...
3 votes
0 answers
73 views

QA form framework in Angular.js

I've just done my first Angular.js project and can't help but feel I have too much code outside of the framework. jsFiddle This is a QA form scoring page that will eventually store it's results in a ...
3 votes
0 answers
138 views

Angular OOP services and caching

I've created a caching service using OOP techniques combined with the revealing module pattern and the angular-cache library. New CacheDataClass objects are ...
3 votes
0 answers
57 views

Using Angular directives for connect HTML clicks in buttons and controller actions

I'm trying to improve my Angular directive. I'm pretty new to CoffeeScript, so I think there may be inconsistent code. ...

15 30 50 per page