Tag Archives: AngularJS

Hints for ng-options

The documentation on Angular expressions is so sketchy that I really can’t work out what it means, so I have “decoded” what they say, and here is the two useful cases.

Posted in Coding, Uncategorized | Tagged , | Leave a comment

Create-On-Update Pattern for AngularJS Applications

This is a suggestion for how to design the JSON/REST protocol between the Angular application and the server, to handle creation of items easily and conveniently.  Use a special ID value to indicate that the object does not exist on … Continue reading

Posted in Coding, Design | Tagged , , , | Leave a comment

Getting Selfie-Links to Work – AngularJS Tips

The past two posts covered parsing the address parameters, and generating a new address with changed parameter values. It turns out that links from a page to the same page are suppressed, unless you include the code below.

Posted in Coding, Design | Tagged , | Leave a comment

Reflecting State in the URL – Angular JS Tip

In the last post I outline a method for parsing parameters to a page, but as people work on the page, they can sometimes modify the parameters. Consider a page that accepts a query value as a parameter, but also … Continue reading

Posted in Coding, Design | Tagged , | Leave a comment