Load controller dynamically in AngularJS

If you are using routing in AngularJS then It’s very important to load controller dynamically. Otherwise, you have to load all controllers at the beginning which is not efficient. We can load controller dynamically by resolve attribute of $routeProvider .when function. Please have a look on sample code. Surely, You will understand that.


Hard Working & Commitment matter

Eager to learn new things, facing problem are key to development power. Hard working, Dedication, Commitment can ship great product. Listening others, accepting different views, ideas can increase creativity. Helping mind can sharp knowledge. Small small idea can bring another idea. Exploring new things open new door of opportunity. Over the 5 years of software… Continue reading Hard Working & Commitment matter

Web Development

Configure mysql datasource in wildfly 8.0

Add mysql module to wildfly application server: 1. Go to wildfly-8.0.0.Final\modules\system\layers\base\com 2. Create folder like “sql\mysql\main\” and go to sql\mysql\main\ 3. Place mysql connector jar to main folder 4. Place module.xml file to main folder Add datasource to wildfly configuration file 1. Go to C:\Program Files\wildfly-8.0.0.Final\wildfly-8.0.0.Final\standalone\configuration 2. Open standalone.xml file (we assume you are using… Continue reading Configure mysql datasource in wildfly 8.0