Fixed Optional Settings Override Mechanism

Swapped `angular.extend` parameters
Merge pull request #1 from MhdSyrwan/patch-1

Fixed Optional Settings Override Mechanism