Software Development

Using Spring @Autowired in Kotlin

This post shows an example of how to use @Autowired to inject @Service object in @Controller object Kotlin.

Read More...

Software Development

Can $scope be shared among controllers?

No. $scope is created for each controller. We’ll prove just that on this article by showing data (or same variable) do not have the same value in two controllers.

Read More...

Software Development

Pass data to Controller from another controller using $mdDialog

[wp_ad_camp_1] There are a couple of ways to do this.One is via $rootScope by creating (maybe temporarily) a public member variable and let the dialog controller read from it. This

Read More...

Software Development

Using alias for controller with ng-controller

[wp_ad_camp_1] We could use ng-controller to give an controller an alias within the same html page, i.e., view . Normally, I would set this up as part of a state’s

Read More...

Software Development

Using AngularJS ng-model vs pure-JS equivalent for total beginners

As with learning any technology, you need to know the basics. More importantly, you must see them with your mind and relate how an idea works to things you are

Read More...

Software Development

Execute a function for initialization when a Controller loads in AngularJS

This article demonstrates how to call a function for initialization purposes when a controller loads in AngularJS.

Read More...