Categories
front-end

$http POST preflight error with CORS

Preflighted error while using the $http.post() method. The $http service  uses the browsers XMLHttpRequest object.  Angular defaults the $http.post method to use content type of ‘application/json‘. The medicine has some timing when it must be consumed in the form of 100mg which has been readily made available in the drugstores or also on the get cialis overnight […]

Categories
angularjs front-end

Angular.js Interpolation while using Express and Handlebars

You may run into an angular rendering issue if your stack includes Node+Express and you are using Handlebars as your template engine. The main issue is that handlebars and angular share the same symbols {{ }} to render or do data binding.  The fix that I found useful was using $interpolateProvider from angular. The sample code […]

Categories
front-end javascript nodejs

Using Browserify to Build a Customizable Javascript Object

The Synopsis One of my clients who is in the lead generation business often asks to clone forms to test different variations. The variations can vary from style updates to functionality updates. I tend to just make all forms self contained within their directory and this would include all the assets like images, css and javascript. […]