Skip to content

Cut and paste the example in the readme isnt working #27

@stiofand

Description

@stiofand

I set up all as required with the script calls etc. Cut and paste the simple two line example in the Readme, and nothing at all happens when I select an image, the image tag doesn't show, so Im assuming the image attribute was never assigned a value. I think you may have a bug, its the same in the latest Chrome, FF, and Safari

<input type="file" accept="image/*" image="image"/> <img ng-show="image" ng-src="{{image.url}}" type="{{image.file.type}}" />

Just to be sure I provided an extra call to the image {{image}} outside of the call to see if the scope was actually getting the value of the image, but it is never does. $cope doesn't have any image property after uploading.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions