app/----- common/ // Acts as reusable components for your app---------- header/--------------- controllers/-------------------- header.controller.js--------------- views/-------------------- header.tpl.html---------- sidebar/--------------- controlle…
include my own version for your reference. We use this one to zip up photos to download so it works with various unzip programs. It preserves the directory structure and timestamps. public static void createZipFile(File srcDir, OutputStream out, bool…
/Content----- images/ // Images for your app----- css/ // Styles for your app/Scripts----- libs/ // Third-party libraries such as jQuery, Moment, Underscore, etc.----- app/---------- common/ // Acts as reusable components for your app---------------…
For building an HTML template with reusable widgets like header, sidebar, footer, etc. Basically the main content is the central DIV which will have its content varying between routes, header and footer will be almost always the same, sidebar can var…
Google can execute AJAX & JavaScript for indexing, you can read the below link for more detailed information:Ajax crawling full specification: https://developers.google.com/webmasters/ajax-crawling/docs/specification From the above link you will know…
By default, AngularJS will route URLs with a hashtag. For example: http://example.com/ http://example.com/#/users http://example.com/#/roles It is very easy to get clean URLs and remove the hashtag from the URL. There are 2 things that need to be don…
Note: Files are grouped according to purpose. Ex: commands, data files, documentation. Parts of a Unix directory tree. See the FSSTND standard (Filesystem standard) / Root |---root The home directory for the root user |---home Contains the user's hom…
A factory which creates a resource object that lets you interact with RESTful server-side data sources. The returned resource object has action methods which provide high-level behaviors without the need to interact with the low level $http service.…
ui-router is a 3rd-party module and is very powerful. It supports everything the normal ngRoute can do as well as many extra functions. Here are some common reason ui-router is chosen over ngRoute: ui-router allows for nested views and multiple named…
app/----- components/---------- users/--------------- controllers/-------------------- users.controller.js--------------- views/-------------------- user-list.tpl.html--------------- app.users.js--------------- app.users.routes.js---------- roles/---…