Archive for development

AngularJS $http.post and OPTIONS verbs with C# MVC apps

If you have an angular service that posts data, the $http object will do a pre-flight OPTIONS request to the URL to make sure it can post. 1 $http.post(‘/someUrl’, {msg:’hello word!’}). 2 success(function(data, status, headers, config) { 3 console.log(data); 4 }). 5 error(function(data, status, headers, config) { 6 console.log(‘error’); 7 }); On the flip side, […]

Read more

An angularJs concept about ionic

Since I forget stuff… It’s worth noting that when a template is rendered, the ng tags are processed at that time. For example, if you want to use ng-model inside of an ng-repeat: This does not work: <input type=“text” ng-model=“settingObject.{{valueName}}”> But this does: <input type="text" ng-model="settingObject[valueName]"> This is an important concept because how certain element […]

Read more

My alternative to Net Neutrality–the municipal switched network

There’s a lot of debate about Net Neutrality and many reasons for and against it. For that information, look elsewhere.  There’s a reason there’s a debate, of course. I would like to offer an outside the box alternative. This doesn’t have to be an either / or choice.  Let’s change the rules, not the rule […]

Read more