Laravel Eloquent relationship not working in restful api

I have a simple one to many relationship in eloquent database with two tables. They are working fine in my normal controllers. But when I use them in my Restful controller, it shows me error of Class 'App/TVChannel' not found. Everything is working fine in other controllers. Here are the model classes: