I recently was refactpromg a toolbar in a dashboard view I had been using for a while. The dashboard was pretty complicated and could be considered a single page application. Angular was perfect for me when I started. I got data-binding, templating, filters and some directives that made my life easy. I became a fan […]
I have been meaning to store filters I find useful and write a little blog post about each one just so I have access to them and maybe someone else will find them handy. This filter is for displaying phone numbers in the following format: 1(xxx) xxx-xxxx When users are inputting their information you can […]
Comparison Operators and the difference between == and === Do you know what the difference is between double and triple equal comparison operators? This is something C# programmer might look right over because they are used to comparison operations and don’t expect anything funky, but beware! The Pitfall: Double equals will typecast values being compared […]
I don’t know about you but I have found that I often want to do validation on a form before that form is submitted. I know I don’t like server side validation and love the responsiveness of client side validation. So often I need to prevent the form from submitting after a “submit” button is […]
When I was first trying out AngularJS someone recommended this Video to me and I found it to be a great intro. I wanted to share AngularJS Fundamentals In 60-ish Minutes by Dan Wahlin. This video is a brilliant, concise presentation breaking down the many moving parts of AngularJS. It is a must see video […]
From simple select item bound to an array of strings, to select items bound to objects with properties. Make sure you can bind the ng-model correctly, set the default value and filter the items to display as needed.