refactor($compile): improve readability on conditional assignment

Use ternary operator instead of if statement
refactor(dateFilter): improve readability on conditional assignment

Use ternary operator instead of if statement
refactor($http): improve readability on conditional assignment

Use ternary operator instead of if statement
refactor($parse): improve readability on conditional assignment

Use logical OR operator instead of if statement
refactor(ngScenario): improve readability on conditional assignment

Use logical OR operator instead of if statement