DRY Implementation

<ul>
<li>Implemented DRY : Code shortened</li>
<li>Removed ng-init : was not needed</li>
<li>Added comments for clarity</li>
</ul>