Apr 12, 2015
How to create a new middleware
Laravel 5 included a new feature middleware, Which does not let entering within app until user passed several conditions. creating a middleware which allow users to download files.
Nov 30, -0001
Each time you create Controller, Directives, Modules in Angular, it uses dependency injection concept to inject objects, dependency injection looks for parameters passed to closure as string and finds matching component, we will see how to make this work in minified js file.
Route model binding is easy way to inject Model instance for associated data such as id, slugs, etc, in your controllers, We will discuss about model and bind methods of Router class and how to use it.