Optimized ResourceDetailView's constructor a bit
Even better optimization to build route
use strict does not like absence of brackets on single instruction conditionals
removed conditionals
Fixed issues with grunt tests so build can pass
Merge pull request #99 from lifeBCE/master

Optimized ResourceDetailView's constructor a bit