Events in Polymer
Integrate Angular in Spring Boot with Gradle
Having a Angular HTML5 single page application and a Spring Boot application, we would like to serve the complete Angular app from Spring Boot.
This blog shows you a couple simple steps to get everything up and running: run NPM from Gradle, integrate the Gradle frontend build in the main build and support HTML5 mode in the ResourceHandler of Spring Boot.
Caching HTTP requests in AngularJS
In AngularJS, especially when you’re using a ‘modern’ Web Component like approach, you often have directives request the same information from your services multiple times.
Since we’d rather not do round-trips we don’t need to to save on server resources caching is our go-to solution.
In this post I will show two different approaches to caching resources: the built-in angular way using $resource and a home-grown solution.
Making a simple stubserver with Drakov
AngularConnect 2016 conference report episode 1
AngularConnect 2016, held on the September 27th and 28th, was the first Angular conference since the final release of Angular 2.0.
From our company (JDriven) we, 3 front-end loving colleagues, attended this conference and would like to share some of the noteworthy things we’ve learned during the conference.
In object-oriented languages, like Java, this refers to the instance of the class where you run the method.
In this post we’ll explore some situations.
And I give some tips on how to deal with them. The normal case. The function eat is defined on carrot.
And we simply run it. this will refer to the enclosing object, which is carrot, with name “carrot”.
Expandable list component for AngularJS (1.5)
For several of my projects I required a list where input items could be dynamically added and removed.
Because i saw uses for this over and over i created a component which i’m sharing with you here.
The component ended up like the code below.
Where i used a template generation function in order to create the ul and li elements.
I’m using the angular.element function to create nodes as a method of preference.
Experiences at Google IO 2016
From May 18-20 myself and Richard attended the Google IO 2016 conference.
We both visited different tracks and have some different experiences we’d like to share.
Here are mine.
Read on about topics in the likes of VR, Progressive Web Apps, and Artificial Intelligence.
For a quick impression have a look at the photo album.
Grasping AngularJS 1.5 directive bindings by learning from Angular 2
In AngularJS 1.5 we can use attribute binding to allow easy use of input-only, output-only and two-way attributes for a directive or component.
Instead of manually parsing, watching and modifying attribute values through code, we can simply specify an attribute binding by adding a property to the object hash of: