AMD definition fix

"angular || null" will return an error if angular is not defined, not null as expected

this change makes ng-table compatible with requireJS (bug appeared when ng-table was loaded before angular, that can happen at random)