Simple application architecture based on nodewebkit and angular.js