lundi 26 septembre 2016

ReferenceError: Invalid left-hand side in assignment

Am writing one condition but unfortuantely getting ReferenceError: Invalid left-hand side in assignment , am not sure what am i doing wrong here.. Can somebody help me

      if((!isEmpty($rootScope.appState.template.contentSelections.upload.JSON))) && (( $rootScope.appState.template.contentSelections.Options.DELIVERY_METHOD == 'email' && $scope.generated.deliveryChannels = "EE/ER")|| ($rootScope.appState.template.contentSelections.Options.DELIVERY_METHOD == 'email_print' && $scope.generated.deliveryChannels = "EE/ER/Print"))) 

I dont see any wrong doing here.. but still getting this error

Aucun commentaire:

Enregistrer un commentaire