Skip to content

How to set value of json attribute in angularjs #57

@vivekkumar27june88

Description

@vivekkumar27june88

Hi

I am new to angularjs and web development, so this question may not be related with to json-formatter only.

Question:

How to give value to json attribute inside of ng-repeat.


            <tr ng-repeat="log in logs">
                <td>{{ $index }}</td>
                <td>{{ log.level }}</td>
                <td>{{ log.time | date:"MM/dd/yyyy 'at' h:mma"}}</td>
                <td>{{ srcFormatter(log.src.file, log.src.line) }}</td>
                <td><json-formatter  json="{{log.msg}}" open="1"></json-formatter></td>
            </tr>

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