Insert image in an AngularJS object [closed]

2

I am trying to insert an image to the attribute pendingConfirmation as you can see below and I get error of sintax

 $scope.colors = {
        status: {
            interested: "",
            pendingConfirmation: "{ background : 'default-grey-500' ,  border : 'default-grey-500' , color : 'default-grey-50' },{ images/negado.png }",
        }
    };
  

Error: [$ parse: syntax] Syntax Error: Token ',' is an unexpected token at column 95 of the expression [{background: 'default-gray-500', border: 'default-gray-500', color: 'default-gray-50'}, {images / negado.png}] starting at [ {images / negado.png}]

    
asked by zerokira 02.10.2017 в 17:28
source

0 answers