This Is A Custom Widget

This Sliding Bar can be switched on or off in theme options, and can take any widget you throw at it or even fill it with your custom HTML Code. Its perfect for grabbing the attention of your viewers. Choose between 1, 2, 3 or 4 columns, set the background color, widget divider color, activate transparency, a top border or fully disable it on desktop and mobile.

This Is A Custom Widget

This Sliding Bar can be switched on or off in theme options, and can take any widget you throw at it or even fill it with your custom HTML Code. Its perfect for grabbing the attention of your viewers. Choose between 1, 2, 3 or 4 columns, set the background color, widget divider color, activate transparency, a top border or fully disable it on desktop and mobile.

AngularJS

Home/AngularJS

Creating new Restangular Methods

By | 2015-03-11T21:02:55+00:00 March 11th, 2015|AngularJS|

// In your app configuration (config method) RestangularProvider.addElementTransformer('users', true, function(user) { // This will add a method called login that will do a POST to the path login // signature is (name, operation, path, params, headers, elementToPost) user.addRestangularMethod('login', 'post', 'login'); return user; }); // Then, later in your code you can do the following: // [...]

Comments Off on Creating new Restangular Methods

AngularJS data model

By | 2017-03-23T21:32:21+00:00 March 11th, 2015|AngularJS|

As we already know, AngularJS doesn’t come with an out of the box solution for data modeling. In the most abstract way, AngularJS lets us use JSON data as a model in the controller. As the time passed and my application grew, I realized that this modeling method isn’t powerful enough to fit my application’s [...]

Comments Off on AngularJS data model