I am completely new to Angular and struggling to comprehend this code snippet.
app.controller('FileConfigController-detail',
function($scope, $http, $stateParams, FileConfigDetailsService) {
$scope.detail.inptITResourceID = "test me";
});
when combined with the following HTML:
<div class="form-group">
<label for="inptITResourceID">IT ResourceID</label>
<input class="form-control" id="inptITResourceID" type="text" ng-model="detail.inptITResourceID">
</div>
I am particularly puzzled by the issue arising when using multiple dots in the code. Why does .detail. cause the code to malfunction while a single dot works fine?